#9D4CEA#9D4CEA

#9D4CEA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.5% C 0.228 H 303.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9D4CEA
RGBrgb(157, 76, 234)
HSLhsl(271, 79%, 61%)
HSVhsv(271, 68%, 92%)
CMYKcmyk(32.9%, 67.5%, 0%, 8.2%)
CIE-LABlab(49.83, 61.66, -66.75)
CIE-LCHlch(49.83, 90.87, 312.73°)
OKLaboklab(59.47% 0.1262 -0.1897)
OKLCHoklch(59.47% 0.228 303.6)
XYZxyz(31.3369, 18.2775, 79.7030)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CEA #99EA4C
analogous
#4E4CEA #9D4CEA #EA4CE8
triadic
#9D4CEA #EA9D4C #4CEA9D
tetradic
#9D4CEA #EA4E4C #99EA4C #4CE8EA
square
#9D4CEA #EA4E4C #99EA4C #4CE8EA
split-complementary
#9D4CEA #E8EA4C #4CEA4E
monochromatic
#6014A8 #7F1ADF #9D4CEA #BB83F0 #D9BAF7

Accessibility & contrast

On white

4.51
#9D4CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9D4CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4CEA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CEA#FFFFFF#000000##000000
##9D4CEA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#8E7095
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4cea;
/* rgb */ color: rgb(157, 76, 234);
/* oklch */ color: oklch(59.5% 0.228 303.6);
Tailwind
colors: {
  custom: {
    50: '#bf84f2',
    500: '#9d4cea',
    950: '#000000',
  },
}
SCSS
$custom: #9d4cea;
$custom-light: #bf84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4cea",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 234
  },
  "hsl": {
    "h": 270.759,
    "s": 79,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59466,
    "c": 0.22788,
    "h": 303.6
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#9D4CEA
secondary
#C8E7AB
accent
#DB0A70
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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