#9D4CEC#9D4CEC

#9D4CEC is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.6% C 0.230 H 303.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9D4CEC
RGBrgb(157, 76, 236)
HSLhsl(270, 81%, 61%)
HSVhsv(270, 68%, 93%)
CMYKcmyk(33.5%, 67.8%, 0%, 7.5%)
CIE-LABlab(49.97, 62.12, -67.65)
CIE-LCHlch(49.97, 91.84, 312.56°)
OKLaboklab(59.61% 0.126 -0.1924)
OKLCHoklch(59.61% 0.23 303.2)
XYZxyz(31.6259, 18.3931, 81.2247)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CEC #9BEC4C
analogous
#4D4CEC #9D4CEC #EC4CEB
triadic
#9D4CEC #EC9D4C #4CEC9D
tetradic
#9D4CEC #EC4D4C #9BEC4C #4CEBEC
square
#9D4CEC #EC4D4C #9BEC4C #4CEBEC
split-complementary
#9D4CEC #EBEC4C #4CEC4D
monochromatic
#6012AB #7F18E3 #9D4CEC #BB83F2 #DABBF8

Accessibility & contrast

On white

4.49
#9D4CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9D4CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4CEC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CEC#FFFFFF#000000##000000
##9D4CEC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#8D7196
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d4cec;
/* rgb */ color: rgb(157, 76, 236);
/* oklch */ color: oklch(59.6% 0.230 303.2);
Tailwind
colors: {
  custom: {
    50: '#bf84f3',
    500: '#9d4cec',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cec;
$custom-light: #bf84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cec",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 270.375,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59609,
    "c": 0.22994,
    "h": 303.2
  },
  "luminance": 0.18393
}

Semantic roles & 50–950 ramp

primary
#9D4CEC
secondary
#CAE8AC
accent
#DD0871
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4CEC

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

Preview Lab → · Contrast checker → · Palette generator →

#9D4CEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva