#9882EA#9882EA

#9882EA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.1% C 0.151 H 291.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9882EA
RGBrgb(152, 130, 234)
HSLhsl(253, 71%, 71%)
HSVhsv(253, 44%, 92%)
CMYKcmyk(35%, 44.4%, 0%, 8.2%)
CIE-LABlab(60.41, 31.67, -49.82)
CIE-LCHlch(60.41, 59.03, 302.44°)
OKLaboklab(67.14% 0.0554 -0.1403)
OKLCHoklch(67.14% 0.151 291.5)
XYZxyz(35.7789, 28.5803, 81.4574)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9882EA #D4EA82
analogous
#82A0EA #9882EA #CC82EA
triadic
#9882EA #EA9882 #82EA98
tetradic
#9882EA #EA82A0 #D4EA82 #82EACC
square
#9882EA #EA82A0 #D4EA82 #82EACC
split-complementary
#9882EA #EACC82 #A0EA82
monochromatic
#4723CF #6D4EE1 #9882EA #C3B6F3 #E9E5FB

Accessibility & contrast

On white

3.13
#9882EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#9882EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9882EA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9882EA#FFFFFF#000000##000000
##9882EA1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#8496AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9882ea;
/* rgb */ color: rgb(152, 130, 234);
/* oklch */ color: oklch(67.1% 0.151 291.5);
Tailwind
colors: {
  custom: {
    50: '#b9a6f1',
    500: '#9882ea',
    950: '#000000',
  },
}
SCSS
$custom: #9882ea;
$custom-light: #b9a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9882ea",
  "rgb": {
    "r": 152,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 252.692,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67138,
    "c": 0.15081,
    "h": 291.5
  },
  "luminance": 0.28581
}

Semantic roles & 50–950 ramp

primary
#9882EA
secondary
#ECF1D6
accent
#D312AA
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9882EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9882EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva