#B587EB#B587EB

#B587EB is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.7% C 0.148 H 304.1°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#B587EB
RGBrgb(181, 135, 235)
HSLhsl(268, 71%, 73%)
HSVhsv(268, 43%, 92%)
CMYKcmyk(23%, 42.6%, 0%, 7.8%)
CIE-LABlab(64.28, 36.94, -44.08)
CIE-LCHlch(64.28, 57.51, 309.96°)
OKLaboklab(70.7% 0.0831 -0.1229)
OKLCHoklch(70.7% 0.148 304.1)
XYZxyz(42.7123, 33.1500, 82.7296)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587EB #BDEB87
analogous
#878BEB #B587EB #E787EB
triadic
#B587EB #EBB587 #87EBB5
tetradic
#B587EB #EB878B #BDEB87 #87EBE7
square
#B587EB #EB878B #BDEB87 #87EBE7
split-complementary
#B587EB #EBE787 #8BEB87
monochromatic
#7523D4 #9553E2 #B587EB #D5BBF4 #EFE5FB

Accessibility & contrast

On white

2.75
#B587EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#B587EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587EB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587EB#FFFFFF#000000##000000
##B587EB1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#789CE8
Tritanopia (blue-blind)
#AC98AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b587eb;
/* rgb */ color: rgb(181, 135, 235);
/* oklch */ color: oklch(70.7% 0.148 304.1);
Tailwind
colors: {
  custom: {
    50: '#cdaaf2',
    500: '#b587eb',
    950: '#000000',
  },
}
SCSS
$custom: #b587eb;
$custom-light: #cdaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b587eb",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 267.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70703,
    "c": 0.1484,
    "h": 304.1
  },
  "luminance": 0.3315
}

Semantic roles & 50–950 ramp

primary
#B587EB
secondary
#E7F2D9
accent
#D3127A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B587EB

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

Preview Lab → · Contrast checker → · Palette generator →

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