#9D76EC#9D76EC

#9D76EC is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.6% C 0.172 H 296.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9D76EC
RGBrgb(157, 118, 236)
HSLhsl(260, 76%, 69%)
HSVhsv(260, 50%, 93%)
CMYKcmyk(33.5%, 50%, 0%, 7.5%)
CIE-LABlab(58.21, 40.28, -54.40)
CIE-LCHlch(58.21, 67.69, 306.52°)
OKLaboklab(65.63% 0.077 -0.1536)
OKLCHoklch(65.63% 0.172 296.6)
XYZxyz(35.5196, 26.1806, 82.5226)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D76EC #C5EC76
analogous
#768AEC #9D76EC #D876EC
triadic
#9D76EC #EC9D76 #76EC9D
tetradic
#9D76EC #EC768A #C5EC76 #76ECD8
square
#9D76EC #EC768A #C5EC76 #76ECD8
split-complementary
#9D76EC #ECD876 #8AEC76
monochromatic
#561CCB #7740E5 #9D76EC #C3ACF3 #EAE1FB

Accessibility & contrast

On white

3.37
#9D76EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#9D76EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D76EC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D76EC#FFFFFF#000000##000000
##9D76EC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CF0
Deuteranopia (green-blind)
#548AE9
Tritanopia (blue-blind)
#8B8DA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9d76ec;
/* rgb */ color: rgb(157, 118, 236);
/* oklch */ color: oklch(65.6% 0.172 296.6);
Tailwind
colors: {
  custom: {
    50: '#bd9ef3',
    500: '#9d76ec',
    950: '#000000',
  },
}
SCSS
$custom: #9d76ec;
$custom-light: #bd9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d76ec",
  "rgb": {
    "r": 157,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 259.831,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65629,
    "c": 0.1718,
    "h": 296.6
  },
  "luminance": 0.26181
}

Semantic roles & 50–950 ramp

primary
#9D76EC
secondary
#E5F0CE
accent
#D80E95
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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