#9D4DE5#9D4DE5

#9D4DE5 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.2% C 0.221 H 304.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9D4DE5
RGBrgb(157, 77, 229)
HSLhsl(272, 75%, 60%)
HSVhsv(272, 66%, 90%)
CMYKcmyk(31.4%, 66.4%, 0%, 10.2%)
CIE-LABlab(49.66, 60.05, -64.21)
CIE-LCHlch(49.66, 87.91, 313.08°)
OKLaboklab(59.23% 0.1258 -0.1823)
OKLCHoklch(59.23% 0.221 304.6)
XYZxyz(30.6982, 18.1331, 75.9964)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4DE5 #95E54D
analogous
#514DE5 #9D4DE5 #E54DE1
triadic
#9D4DE5 #E59D4D #4DE59D
tetradic
#9D4DE5 #E5514D #95E54D #4DE1E5
square
#9D4DE5 #E5514D #95E54D #4DE1E5
split-complementary
#9D4DE5 #E1E54D #4DE551
monochromatic
#5F17A0 #7F1FD6 #9D4DE5 #BA82ED #D8B8F5

Accessibility & contrast

On white

4.54
#9D4DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#9D4DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4DE5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4DE5#FFFFFF#000000##000000
##9D4DE51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#1876E2
Tritanopia (blue-blind)
#906F93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4de5;
/* rgb */ color: rgb(157, 77, 229);
/* oklch */ color: oklch(59.2% 0.221 304.6);
Tailwind
colors: {
  custom: {
    50: '#bf84ee',
    500: '#9d4de5',
    950: '#000000',
  },
}
SCSS
$custom: #9d4de5;
$custom-light: #bf84ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4de5",
  "rgb": {
    "r": 157,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 271.579,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.22144,
    "h": 304.6
  },
  "luminance": 0.18133
}

Semantic roles & 50–950 ramp

primary
#9D4DE5
secondary
#C5E4AA
accent
#F1378F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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