#9E77EA#9E77EA

#9E77EA is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.8% C 0.168 H 297.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9E77EA
RGBrgb(158, 119, 234)
HSLhsl(260, 73%, 69%)
HSVhsv(260, 49%, 92%)
CMYKcmyk(32.5%, 49.1%, 0%, 8.2%)
CIE-LABlab(58.42, 39.47, -52.95)
CIE-LCHlch(58.42, 66.04, 306.70°)
OKLaboklab(65.77% 0.0768 -0.1493)
OKLCHoklch(65.77% 0.168 297.2)
XYZxyz(35.5450, 26.4028, 81.0495)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E77EA #C3EA77
analogous
#778AEA #9E77EA #D877EA
triadic
#9E77EA #EA9E77 #77EA9E
tetradic
#9E77EA #EA778A #C3EA77 #77EAD8
square
#9E77EA #EA778A #C3EA77 #77EAD8
split-complementary
#9E77EA #EAD877 #8AEA77
monochromatic
#581FC8 #7842E2 #9E77EA #C4ACF2 #EAE1FA

Accessibility & contrast

On white

3.34
#9E77EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9E77EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E77EA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E77EA#FFFFFF#000000##000000
##9E77EA1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e77ea;
/* rgb */ color: rgb(158, 119, 234);
/* oklch */ color: oklch(65.8% 0.168 297.2);
Tailwind
colors: {
  custom: {
    50: '#be9ff1',
    500: '#9e77ea',
    950: '#000000',
  },
}
SCSS
$custom: #9e77ea;
$custom-light: #be9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e77ea",
  "rgb": {
    "r": 158,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 260.348,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65772,
    "c": 0.16788,
    "h": 297.2
  },
  "luminance": 0.26403
}

Semantic roles & 50–950 ramp

primary
#9E77EA
secondary
#E4EFCE
accent
#D51092
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9E77EA

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

Preview Lab → · Contrast checker → · Palette generator →

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