#9880EB#9880EB

#9880EB is a light, vivid violet. Relative luminance 0.281; OKLCH L 66.8% C 0.155 H 292.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9880EB
RGBrgb(152, 128, 235)
HSLhsl(253, 73%, 71%)
HSVhsv(253, 46%, 92%)
CMYKcmyk(35.3%, 45.5%, 0%, 7.8%)
CIE-LABlab(59.99, 33.08, -51.04)
CIE-LCHlch(59.99, 60.82, 302.95°)
OKLaboklab(66.84% 0.0581 -0.1439)
OKLCHoklch(66.84% 0.155 292)
XYZxyz(35.6595, 28.1111, 82.1283)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9880EB #D3EB80
analogous
#809DEB #9880EB #CD80EB
triadic
#9880EB #EB9880 #80EB98
tetradic
#9880EB #EB809D #D3EB80 #80EBCD
square
#9880EB #EB809D #D3EB80 #80EBCD
split-complementary
#9880EB #EBCD80 #9DEB80
monochromatic
#4821D0 #6D4BE3 #9880EB #C3B5F3 #EAE5FB

Accessibility & contrast

On white

3.17
#9880EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#9880EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9880EB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9880EB#FFFFFF#000000##000000
##9880EB1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#8495AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9880eb;
/* rgb */ color: rgb(152, 128, 235);
/* oklch */ color: oklch(66.8% 0.155 292.0);
Tailwind
colors: {
  custom: {
    50: '#baa5f2',
    500: '#9880eb',
    950: '#000000',
  },
}
SCSS
$custom: #9880eb;
$custom-light: #baa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9880eb",
  "rgb": {
    "r": 152,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 253.458,
    "s": 72.789,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66837,
    "c": 0.15514,
    "h": 292
  },
  "luminance": 0.28112
}

Semantic roles & 50–950 ramp

primary
#9880EB
secondary
#EBF1D5
accent
#D511A9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9880EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9880EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva