#9D76EF#9D76EF

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

Color values

HEX#9D76EF
RGBrgb(157, 118, 239)
HSLhsl(259, 79%, 70%)
HSVhsv(259, 51%, 94%)
CMYKcmyk(34.3%, 50.6%, 0%, 6.3%)
CIE-LABlab(58.37, 41.05, -55.81)
CIE-LCHlch(58.37, 69.28, 306.34°)
OKLaboklab(65.81% 0.0772 -0.1577)
OKLCHoklch(65.81% 0.176 296.1)
XYZxyz(35.9591, 26.3564, 84.8374)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D76EF #C8EF76
analogous
#768BEF #9D76EF #DA76EF
triadic
#9D76EF #EF9D76 #76EF9D
tetradic
#9D76EF #EF768B #C8EF76 #76EFDA
square
#9D76EF #EF768B #C8EF76 #76EFDA
split-complementary
#9D76EF #EFDA76 #8BEF76
monochromatic
#5419D2 #763FE9 #9D76EF #C4ADF5 #EBE4FC

Accessibility & contrast

On white

3.35
#9D76EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#9D76EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D76EF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D76EF#FFFFFF#000000##000000
##9D76EF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#518BEC
Tritanopia (blue-blind)
#8A8EA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9d76ef;
/* rgb */ color: rgb(157, 118, 239);
/* oklch */ color: oklch(65.8% 0.176 296.1);
Tailwind
colors: {
  custom: {
    50: '#be9ef5',
    500: '#9d76ef',
    950: '#000000',
  },
}
SCSS
$custom: #9d76ef;
$custom-light: #be9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d76ef",
  "rgb": {
    "r": 157,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 259.339,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.65806,
    "c": 0.17558,
    "h": 296.1
  },
  "luminance": 0.26357
}

Semantic roles & 50–950 ramp

primary
#9D76EF
secondary
#E6F1CF
accent
#DB0A98
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D76EF

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

Preview Lab → · Contrast checker → · Palette generator →

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