#9747D4#9747D4

#9747D4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.210 H 306.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9747D4
RGBrgb(151, 71, 212)
HSLhsl(274, 62%, 55%)
HSVhsv(274, 67%, 83%)
CMYKcmyk(28.8%, 66.5%, 0%, 16.9%)
CIE-LABlab(46.76, 57.73, -59.25)
CIE-LCHlch(46.76, 82.72, 314.26°)
OKLaboklab(56.64% 0.1261 -0.1679)
OKLCHoklch(56.64% 0.21 306.9)
XYZxyz(26.8969, 15.8396, 63.9150)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747D4 #84D447
analogous
#5047D4 #9747D4 #D447CA
triadic
#9747D4 #D49747 #47D497
tetradic
#9747D4 #D45047 #84D447 #47CAD4
square
#9747D4 #D45047 #84D447 #47CAD4
split-complementary
#9747D4 #CAD447 #47D450
monochromatic
#571E82 #782AB4 #9747D4 #B379E0 #CFAAEB

Accessibility & contrast

On white

5.04
#9747D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9747D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747D4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747D4#FFFFFF#000000##FFFFFF
##9747D41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#246FD1
Tritanopia (blue-blind)
#8D6688
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9747d4;
/* rgb */ color: rgb(151, 71, 212);
/* oklch */ color: oklch(56.6% 0.210 306.9);
Tailwind
colors: {
  custom: {
    50: '#ba80e2',
    500: '#9747d4',
    950: '#000000',
  },
}
SCSS
$custom: #9747d4;
$custom-light: #ba80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9747d4",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 274.043,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56635,
    "c": 0.20997,
    "h": 306.9
  },
  "luminance": 0.15839
}

Semantic roles & 50–950 ramp

primary
#9747D4
secondary
#B7D99E
accent
#E54389
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9747D4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9747D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva