#9D80EA#9D80EA

#9D80EA is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.2% C 0.154 H 294.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9D80EA
RGBrgb(157, 128, 234)
HSLhsl(256, 72%, 71%)
HSVhsv(256, 45%, 92%)
CMYKcmyk(32.9%, 45.3%, 0%, 8.2%)
CIE-LABlab(60.38, 34.12, -49.84)
CIE-LCHlch(60.38, 60.40, 304.39°)
OKLaboklab(67.22% 0.0639 -0.1402)
OKLCHoklch(67.22% 0.154 294.5)
XYZxyz(36.4713, 28.5463, 81.4144)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D80EA #CDEA80
analogous
#8098EA #9D80EA #D280EA
triadic
#9D80EA #EA9D80 #80EA9D
tetradic
#9D80EA #EA8098 #CDEA80 #80EAD2
square
#9D80EA #EA8098 #CDEA80 #80EAD2
split-complementary
#9D80EA #EAD280 #98EA80
monochromatic
#5122CE #744BE1 #9D80EA #C6B5F3 #EBE5FB

Accessibility & contrast

On white

3.13
#9D80EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9D80EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D80EA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D80EA#FFFFFF#000000##000000
##9D80EA1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EE
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#8B94AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d80ea;
/* rgb */ color: rgb(157, 128, 234);
/* oklch */ color: oklch(67.2% 0.154 294.5);
Tailwind
colors: {
  custom: {
    50: '#bda5f1',
    500: '#9d80ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d80ea;
$custom-light: #bda5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d80ea",
  "rgb": {
    "r": 157,
    "g": 128,
    "b": 234
  },
  "hsl": {
    "h": 256.415,
    "s": 71.622,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6722,
    "c": 0.15409,
    "h": 294.5
  },
  "luminance": 0.28547
}

Semantic roles & 50–950 ramp

primary
#9D80EA
secondary
#E9F1D5
accent
#D4129F
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9D80EA

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

Preview Lab → · Contrast checker → · Palette generator →

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