#9F4DE1#9F4DE1

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

Color values

HEX#9F4DE1
RGBrgb(159, 77, 225)
HSLhsl(273, 71%, 59%)
HSVhsv(273, 66%, 88%)
CMYKcmyk(29.3%, 65.8%, 0%, 11.8%)
CIE-LABlab(49.64, 59.55, -61.97)
CIE-LCHlch(49.64, 85.94, 313.86°)
OKLaboklab(59.19% 0.1288 -0.1756)
OKLCHoklch(59.19% 0.218 306.3)
XYZxyz(30.5396, 18.1152, 73.1073)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4DE1 #8FE14D
analogous
#554DE1 #9F4DE1 #E14DD9
triadic
#9F4DE1 #E19F4D #4DE19F
tetradic
#9F4DE1 #E1554D #8FE14D #4DD9E1
square
#9F4DE1 #E1554D #8FE14D #4DD9E1
split-complementary
#9F4DE1 #D9E14D #4DE155
monochromatic
#611A9A #8223CE #9F4DE1 #BB81EA #D7B6F3

Accessibility & contrast

On white

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

On black

4.62
#9F4DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4DE1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4DE1#FFFFFF#000000##000000
##9F4DE11.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#2676DE
Tritanopia (blue-blind)
#946D91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4de1;
/* rgb */ color: rgb(159, 77, 225);
/* oklch */ color: oklch(59.2% 0.218 306.3);
Tailwind
colors: {
  custom: {
    50: '#c084eb',
    500: '#9f4de1',
    950: '#000000',
  },
}
SCSS
$custom: #9f4de1;
$custom-light: #c084eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4de1",
  "rgb": {
    "r": 159,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 273.243,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59187,
    "c": 0.21778,
    "h": 306.3
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#9F4DE1
secondary
#C2E2A8
accent
#EE3A8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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