#9F4EE5#9F4EE5

#9F4EE5 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.221 H 305.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9F4EE5
RGBrgb(159, 78, 229)
HSLhsl(272, 74%, 60%)
HSVhsv(272, 66%, 90%)
CMYKcmyk(30.6%, 65.9%, 0%, 10.2%)
CIE-LABlab(50.07, 59.99, -63.53)
CIE-LCHlch(50.07, 87.38, 313.36°)
OKLaboklab(59.58% 0.1273 -0.1802)
OKLCHoklch(59.58% 0.221 305.2)
XYZxyz(31.1622, 18.4771, 76.0383)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4EE5 #94E54E
analogous
#534EE5 #9F4EE5 #E54EE0
triadic
#9F4EE5 #E59F4E #4EE59F
tetradic
#9F4EE5 #E5534E #94E54E #4EE0E5
square
#9F4EE5 #E5534E #94E54E #4EE0E5
split-complementary
#9F4EE5 #E0E54E #4EE553
monochromatic
#6118A1 #821FD6 #9F4EE5 #BC83ED #D9B9F5

Accessibility & contrast

On white

4.47
#9F4EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9F4EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4EE5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4EE5#FFFFFF#000000##000000
##9F4EE51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#2077E2
Tritanopia (blue-blind)
#926F93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4ee5;
/* rgb */ color: rgb(159, 78, 229);
/* oklch */ color: oklch(59.6% 0.221 305.2);
Tailwind
colors: {
  custom: {
    50: '#c085ee',
    500: '#9f4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ee5;
$custom-light: #c085ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ee5",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 272.185,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59583,
    "c": 0.22064,
    "h": 305.2
  },
  "luminance": 0.18477
}

Semantic roles & 50–950 ramp

primary
#9F4EE5
secondary
#C5E4AA
accent
#D70F6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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