#B587EE#B587EE

#B587EE is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.9% C 0.152 H 303.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#B587EE
RGBrgb(181, 135, 238)
HSLhsl(267, 75%, 73%)
HSVhsv(267, 43%, 93%)
CMYKcmyk(23.9%, 43.3%, 0%, 6.7%)
CIE-LABlab(64.42, 37.63, -45.52)
CIE-LCHlch(64.42, 59.06, 309.58°)
OKLaboklab(70.86% 0.0836 -0.1271)
OKLCHoklch(70.86% 0.152 303.3)
XYZxyz(43.1493, 33.3248, 85.0315)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587EE #C0EE87
analogous
#878CEE #B587EE #E887EE
triadic
#B587EE #EEB587 #87EEB5
tetradic
#B587EE #EE878C #C0EE87 #87EEE8
square
#B587EE #EE878C #C0EE87 #87EEE8
split-complementary
#B587EE #EEE887 #8CEE87
monochromatic
#731FDC #9451E6 #B587EE #D6BDF6 #EEE4FB

Accessibility & contrast

On white

2.74
#B587EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#B587EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587EE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587EE#FFFFFF#000000##000000
##B587EE1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#779CEB
Tritanopia (blue-blind)
#AB98AF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b587ee;
/* rgb */ color: rgb(181, 135, 238);
/* oklch */ color: oklch(70.9% 0.152 303.3);
Tailwind
colors: {
  custom: {
    50: '#cdaaf4',
    500: '#b587ee',
    950: '#000000',
  },
}
SCSS
$custom: #b587ee;
$custom-light: #cdaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b587ee",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 266.796,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70856,
    "c": 0.15213,
    "h": 303.3
  },
  "luminance": 0.33325
}

Semantic roles & 50–950 ramp

primary
#B587EE
secondary
#E7F3D8
accent
#D70E7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B587EE

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

Preview Lab → · Contrast checker → · Palette generator →

#B587EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva