#987FF0#987FF0

#987FF0 is a light, vivid violet. Relative luminance 0.281; OKLCH L 66.9% C 0.163 H 291.5°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#987FF0
RGBrgb(152, 127, 240)
HSLhsl(253, 79%, 72%)
HSVhsv(253, 47%, 94%)
CMYKcmyk(36.7%, 47.1%, 0%, 5.9%)
CIE-LABlab(60.02, 34.97, -53.77)
CIE-LCHlch(60.02, 64.14, 303.04°)
OKLaboklab(66.95% 0.06 -0.1518)
OKLCHoklch(66.95% 0.163 291.5)
XYZxyz(36.2623, 28.1445, 85.9431)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987FF0 #D7F07F
analogous
#7F9FF0 #987FF0 #D07FF0
triadic
#987FF0 #F0987F #7FF098
tetradic
#987FF0 #F07F9F #D7F07F #7FF0D0
square
#987FF0 #F07F9F #D7F07F #7FF0D0
split-complementary
#987FF0 #F0D07F #9FF07F
monochromatic
#441ADB #6C48EA #987FF0 #C4B6F6 #E9E4FC

Accessibility & contrast

On white

3.17
#987FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#987FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987FF0
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987FF0#FFFFFF#000000##000000
##987FF01.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F4
Deuteranopia (green-blind)
#598EED
Tritanopia (blue-blind)
#8295AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #987ff0;
/* rgb */ color: rgb(152, 127, 240);
/* oklch */ color: oklch(66.9% 0.163 291.5);
Tailwind
colors: {
  custom: {
    50: '#baa4f5',
    500: '#987ff0',
    950: '#000000',
  },
}
SCSS
$custom: #987ff0;
$custom-light: #baa4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#987ff0",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 253.274,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66946,
    "c": 0.16324,
    "h": 291.5
  },
  "luminance": 0.28145
}

Semantic roles & 50–950 ramp

primary
#987FF0
secondary
#EDF4D7
accent
#DB0AAD
background
#FBFAFF
surface
#F7F4FE
border
#D0CED6
text
#120F17
muted
#817F85

Preview Lab

Preview with #987FF0

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

Preview Lab → · Contrast checker → · Palette generator →

#987FF0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva