#9E76EC#9E76EC

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

Color values

HEX#9E76EC
RGBrgb(158, 118, 236)
HSLhsl(260, 76%, 69%)
HSVhsv(260, 50%, 93%)
CMYKcmyk(33.1%, 50%, 0%, 7.5%)
CIE-LABlab(58.30, 40.54, -54.25)
CIE-LCHlch(58.30, 67.72, 306.77°)
OKLaboklab(65.72% 0.0782 -0.1531)
OKLCHoklch(65.72% 0.172 297.1)
XYZxyz(35.7156, 26.2816, 82.5318)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E76EC #C4EC76
analogous
#7689EC #9E76EC #D976EC
triadic
#9E76EC #EC9E76 #76EC9E
tetradic
#9E76EC #EC7689 #C4EC76 #76ECD9
square
#9E76EC #EC7689 #C4EC76 #76ECD9
split-complementary
#9E76EC #ECD976 #89EC76
monochromatic
#581CCB #7840E5 #9E76EC #C4ACF3 #EAE1FB

Accessibility & contrast

On white

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

On black

6.26
#9E76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E76EC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E76EC#FFFFFF#000000##000000
##9E76EC1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF0
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#8D8DA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9e76ec;
/* rgb */ color: rgb(158, 118, 236);
/* oklch */ color: oklch(65.7% 0.172 297.1);
Tailwind
colors: {
  custom: {
    50: '#be9ef3',
    500: '#9e76ec',
    950: '#000000',
  },
}
SCSS
$custom: #9e76ec;
$custom-light: #be9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e76ec",
  "rgb": {
    "r": 158,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 260.339,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65723,
    "c": 0.17192,
    "h": 297.1
  },
  "luminance": 0.26282
}

Semantic roles & 50–950 ramp

primary
#9E76EC
secondary
#E4F0CE
accent
#D80E93
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9E76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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