#9D4DEA#9D4DEA

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

Color values

HEX#9D4DEA
RGBrgb(157, 77, 234)
HSLhsl(271, 79%, 61%)
HSVhsv(271, 67%, 92%)
CMYKcmyk(32.9%, 67.1%, 0%, 8.2%)
CIE-LABlab(50.00, 61.20, -66.48)
CIE-LCHlch(50.00, 90.36, 312.63°)
OKLaboklab(59.59% 0.1252 -0.1889)
OKLCHoklch(59.59% 0.227 303.5)
XYZxyz(31.4064, 18.4164, 79.7261)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DEA #9AEA4D
analogous
#4E4DEA #9D4DEA #EA4DE8
triadic
#9D4DEA #EA9D4D #4DEA9D
tetradic
#9D4DEA #EA4E4D #9AEA4D #4DE8EA
square
#9D4DEA #EA4E4D #9AEA4D #4DE8EA
split-complementary
#9D4DEA #E8EA4D #4DEA4E
monochromatic
#6014A9 #7F1ADF #9D4DEA #BB84F0 #D9BAF7

Accessibility & contrast

On white

4.48
#9D4DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D4DEA#FFFFFF#000000##000000
##9D4DEA1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0077E7
Tritanopia (blue-blind)
#8E7196
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d4dea;
/* rgb */ color: rgb(157, 77, 234);
/* oklch */ color: oklch(59.6% 0.227 303.5);
Tailwind
colors: {
  custom: {
    50: '#bf84f2',
    500: '#9d4dea',
    950: '#000000',
  },
}
SCSS
$custom: #9d4dea;
$custom-light: #bf84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4dea",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 234
  },
  "hsl": {
    "h": 270.573,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59585,
    "c": 0.22666,
    "h": 303.5
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#9D4DEA
secondary
#C9E7AC
accent
#DB0A71
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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