#987BED#987BED

#987BED is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.1% C 0.165 H 293.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#987BED
RGBrgb(152, 123, 237)
HSLhsl(255, 76%, 71%)
HSVhsv(255, 48%, 93%)
CMYKcmyk(35.9%, 48.1%, 0%, 7.1%)
CIE-LABlab(58.93, 36.46, -53.83)
CIE-LCHlch(58.93, 65.02, 304.11°)
OKLaboklab(66.08% 0.0647 -0.152)
OKLCHoklch(66.08% 0.165 293.1)
XYZxyz(35.3139, 26.9550, 83.4466)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BED #D0ED7B
analogous
#7B97ED #987BED #D17BED
triadic
#987BED #ED987B #7BED98
tetradic
#987BED #ED7B97 #D0ED7B #7BEDD1
square
#987BED #ED7B97 #D0ED7B #7BEDD1
split-complementary
#987BED #EDD17B #97ED7B
monochromatic
#4A1DD1 #6E45E6 #987BED #C2B1F4 #EAE4FB

Accessibility & contrast

On white

3.29
#987BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#987BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987BED
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987BED#FFFFFF#000000##000000
##987BED1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF1
Deuteranopia (green-blind)
#568CEA
Tritanopia (blue-blind)
#8391A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #987bed;
/* rgb */ color: rgb(152, 123, 237);
/* oklch */ color: oklch(66.1% 0.165 293.1);
Tailwind
colors: {
  custom: {
    50: '#baa1f3',
    500: '#987bed',
    950: '#000000',
  },
}
SCSS
$custom: #987bed;
$custom-light: #baa1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#987bed",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 255.263,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66079,
    "c": 0.16522,
    "h": 293.1
  },
  "luminance": 0.26956
}

Semantic roles & 50–950 ramp

primary
#987BED
secondary
#EAF1D2
accent
#D80DA5
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F17
muted
#817F85

Preview Lab

Preview with #987BED

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

Preview Lab → · Contrast checker → · Palette generator →

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