#9987EA#9987EA

#9987EA is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.1% C 0.143 H 290.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9987EA
RGBrgb(153, 135, 234)
HSLhsl(251, 70%, 72%)
HSVhsv(251, 42%, 92%)
CMYKcmyk(34.6%, 42.3%, 0%, 8.2%)
CIE-LABlab(61.69, 29.06, -47.79)
CIE-LCHlch(61.69, 55.93, 301.30°)
OKLaboklab(68.13% 0.05 -0.1343)
OKLCHoklch(68.13% 0.143 290.4)
XYZxyz(36.6482, 30.0399, 81.6933)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9987EA #D8EA87
analogous
#87A7EA #9987EA #CB87EA
triadic
#9987EA #EA9987 #87EA99
tetradic
#9987EA #EA87A7 #D8EA87 #87EACB
square
#9987EA #EA87A7 #D8EA87 #87EACB
split-complementary
#9987EA #EACB87 #A7EA87
monochromatic
#4425D2 #6D53E1 #9987EA #C5BBF3 #E9E5FA

Accessibility & contrast

On white

3.00
#9987EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#9987EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9987EA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9987EA#FFFFFF#000000##000000
##9987EA1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#859AAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9987ea;
/* rgb */ color: rgb(153, 135, 234);
/* oklch */ color: oklch(68.1% 0.143 290.4);
Tailwind
colors: {
  custom: {
    50: '#baaaf1',
    500: '#9987ea',
    950: '#000000',
  },
}
SCSS
$custom: #9987ea;
$custom-light: #baaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9987ea",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 250.909,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68125,
    "c": 0.14335,
    "h": 290.4
  },
  "luminance": 0.30041
}

Semantic roles & 50–950 ramp

primary
#9987EA
secondary
#EDF2D9
accent
#D213AF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9987EA

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

Preview Lab → · Contrast checker → · Palette generator →

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