#9F77EA#9F77EA

#9F77EA is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.9% C 0.168 H 297.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9F77EA
RGBrgb(159, 119, 234)
HSLhsl(261, 73%, 69%)
HSVhsv(261, 49%, 92%)
CMYKcmyk(32.1%, 49.1%, 0%, 8.2%)
CIE-LABlab(58.51, 39.72, -52.79)
CIE-LCHlch(58.51, 66.07, 306.96°)
OKLaboklab(65.87% 0.078 -0.1488)
OKLCHoklch(65.87% 0.168 297.7)
XYZxyz(35.7426, 26.5047, 81.0588)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F77EA #C2EA77
analogous
#7789EA #9F77EA #D977EA
triadic
#9F77EA #EA9F77 #77EA9F
tetradic
#9F77EA #EA7789 #C2EA77 #77EAD9
square
#9F77EA #EA7789 #C2EA77 #77EAD9
split-complementary
#9F77EA #EAD977 #89EA77
monochromatic
#5A1FC8 #7A42E2 #9F77EA #C4ACF2 #EAE1FA

Accessibility & contrast

On white

3.33
#9F77EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#9F77EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F77EA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F77EA#FFFFFF#000000##000000
##9F77EA1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#8F8DA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f77ea;
/* rgb */ color: rgb(159, 119, 234);
/* oklch */ color: oklch(65.9% 0.168 297.7);
Tailwind
colors: {
  custom: {
    50: '#be9ff1',
    500: '#9f77ea',
    950: '#000000',
  },
}
SCSS
$custom: #9f77ea;
$custom-light: #be9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f77ea",
  "rgb": {
    "r": 159,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 260.87,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65866,
    "c": 0.16801,
    "h": 297.7
  },
  "luminance": 0.26505
}

Semantic roles & 50–950 ramp

primary
#9F77EA
secondary
#E3EFCE
accent
#D51091
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9F77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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