#B587EA#B587EA

#B587EA is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.7% C 0.147 H 304.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#B587EA
RGBrgb(181, 135, 234)
HSLhsl(268, 70%, 72%)
HSVhsv(268, 42%, 92%)
CMYKcmyk(22.6%, 42.3%, 0%, 8.2%)
CIE-LABlab(64.24, 36.70, -43.60)
CIE-LCHlch(64.24, 57.00, 310.09°)
OKLaboklab(70.65% 0.083 -0.1215)
OKLCHoklch(70.65% 0.147 304.3)
XYZxyz(42.5682, 33.0924, 81.9708)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587EA #BCEA87
analogous
#878AEA #B587EA #E787EA
triadic
#B587EA #EAB587 #87EAB5
tetradic
#B587EA #EA878A #BCEA87 #87EAE7
square
#B587EA #EA878A #BCEA87 #87EAE7
split-complementary
#B587EA #EAE787 #8AEA87
monochromatic
#7525D2 #9553E1 #B587EA #D5BBF3 #EFE5FA

Accessibility & contrast

On white

2.76
#B587EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#B587EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587EA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587EA#FFFFFF#000000##000000
##B587EA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#799CE7
Tritanopia (blue-blind)
#AC97AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b587ea;
/* rgb */ color: rgb(181, 135, 234);
/* oklch */ color: oklch(70.7% 0.147 304.3);
Tailwind
colors: {
  custom: {
    50: '#cdaaf1',
    500: '#b587ea',
    950: '#000000',
  },
}
SCSS
$custom: #b587ea;
$custom-light: #cdaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b587ea",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 267.879,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70653,
    "c": 0.14716,
    "h": 304.3
  },
  "luminance": 0.33092
}

Semantic roles & 50–950 ramp

primary
#B587EA
secondary
#E6F2D9
accent
#D21379
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B587EA

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

Preview Lab → · Contrast checker → · Palette generator →

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