#9D76EB#9D76EB

#9D76EB is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.6% C 0.171 H 296.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9D76EB
RGBrgb(157, 118, 235)
HSLhsl(260, 75%, 69%)
HSVhsv(260, 50%, 92%)
CMYKcmyk(33.2%, 49.8%, 0%, 7.8%)
CIE-LABlab(58.15, 40.03, -53.93)
CIE-LCHlch(58.15, 67.17, 306.58°)
OKLaboklab(65.57% 0.0769 -0.1522)
OKLCHoklch(65.57% 0.171 296.8)
XYZxyz(35.3747, 26.1226, 81.7596)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D76EB #C4EB76
analogous
#768AEB #9D76EB #D876EB
triadic
#9D76EB #EB9D76 #76EB9D
tetradic
#9D76EB #EB768A #C4EB76 #76EBD8
square
#9D76EB #EB768A #C4EB76 #76EBD8
split-complementary
#9D76EB #EBD876 #8AEB76
monochromatic
#571DC9 #7741E3 #9D76EB #C3ABF3 #E9E1FB

Accessibility & contrast

On white

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

On black

6.22
#9D76EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D76EB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D76EB#FFFFFF#000000##000000
##9D76EB1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEF
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#8C8DA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9d76eb;
/* rgb */ color: rgb(157, 118, 235);
/* oklch */ color: oklch(65.6% 0.171 296.8);
Tailwind
colors: {
  custom: {
    50: '#bd9ef2',
    500: '#9d76eb',
    950: '#000000',
  },
}
SCSS
$custom: #9d76eb;
$custom-light: #bd9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d76eb",
  "rgb": {
    "r": 157,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 260,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65571,
    "c": 0.17053,
    "h": 296.8
  },
  "luminance": 0.26123
}

Semantic roles & 50–950 ramp

primary
#9D76EB
secondary
#E4EFCD
accent
#D70F94
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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