#B587EF#B587EF

#B587EF is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.9% C 0.153 H 303.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#B587EF
RGBrgb(181, 135, 239)
HSLhsl(267, 76%, 73%)
HSVhsv(267, 44%, 94%)
CMYKcmyk(24.3%, 43.5%, 0%, 6.3%)
CIE-LABlab(64.47, 37.86, -45.99)
CIE-LCHlch(64.47, 59.57, 309.46°)
OKLaboklab(70.91% 0.0838 -0.1285)
OKLCHoklch(70.91% 0.153 303.1)
XYZxyz(43.2966, 33.3838, 85.8074)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587EF #C1EF87
analogous
#878DEF #B587EF #E987EF
triadic
#B587EF #EFB587 #87EFB5
tetradic
#B587EF #EF878D #C1EF87 #87EFE9
square
#B587EF #EF878D #C1EF87 #87EFE9
split-complementary
#B587EF #EFE987 #8DEF87
monochromatic
#731EDE #9451E8 #B587EF #D6BDF6 #EEE4FB

Accessibility & contrast

On white

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

On black

7.68
#B587EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587EF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587EF#FFFFFF#000000##000000
##B587EF1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#769CEC
Tritanopia (blue-blind)
#AB99B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b587ef;
/* rgb */ color: rgb(181, 135, 239);
/* oklch */ color: oklch(70.9% 0.153 303.1);
Tailwind
colors: {
  custom: {
    50: '#cdabf4',
    500: '#b587ef',
    950: '#000000',
  },
}
SCSS
$custom: #b587ef;
$custom-light: #cdabf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b587ef",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 266.538,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70907,
    "c": 0.15338,
    "h": 303.1
  },
  "luminance": 0.33384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B587EF

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

Preview Lab → · Contrast checker → · Palette generator →

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