#9F76EA#9F76EA

#9F76EA is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.7% C 0.170 H 297.9°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9F76EA
RGBrgb(159, 118, 234)
HSLhsl(261, 73%, 69%)
HSVhsv(261, 50%, 92%)
CMYKcmyk(32.1%, 49.6%, 0%, 8.2%)
CIE-LABlab(58.29, 40.28, -53.15)
CIE-LCHlch(58.29, 66.69, 307.16°)
OKLaboklab(65.7% 0.0793 -0.1498)
OKLCHoklch(65.7% 0.17 297.9)
XYZxyz(35.6242, 26.2679, 81.0193)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F76EA #C1EA76
analogous
#7687EA #9F76EA #D976EA
triadic
#9F76EA #EA9F76 #76EA9F
tetradic
#9F76EA #EA7687 #C1EA76 #76EAD9
square
#9F76EA #EA7687 #C1EA76 #76EAD9
split-complementary
#9F76EA #EAD976 #87EA76
monochromatic
#5A1FC7 #7A41E2 #9F76EA #C4ABF2 #E9E0FA

Accessibility & contrast

On white

3.36
#9F76EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#9F76EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F76EA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F76EA#FFFFFF#000000##000000
##9F76EA1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#578BE7
Tritanopia (blue-blind)
#8F8CA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9f76ea;
/* rgb */ color: rgb(159, 118, 234);
/* oklch */ color: oklch(65.7% 0.170 297.9);
Tailwind
colors: {
  custom: {
    50: '#bf9ef1',
    500: '#9f76ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f76ea;
$custom-light: #bf9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f76ea",
  "rgb": {
    "r": 159,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 261.207,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.657,
    "c": 0.16952,
    "h": 297.9
  },
  "luminance": 0.26268
}

Semantic roles & 50–950 ramp

primary
#9F76EA
secondary
#E3EFCD
accent
#D61090
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9F76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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