#B587EC#B587EC

#B587EC is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.150 H 303.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#B587EC
RGBrgb(181, 135, 236)
HSLhsl(267, 73%, 73%)
HSVhsv(267, 43%, 93%)
CMYKcmyk(23.3%, 42.8%, 0%, 7.5%)
CIE-LABlab(64.33, 37.17, -44.56)
CIE-LCHlch(64.33, 58.03, 309.83°)
OKLaboklab(70.75% 0.0833 -0.1243)
OKLCHoklch(70.75% 0.15 303.8)
XYZxyz(42.8571, 33.2079, 83.4926)
Luminance0.3321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587EC #BEEC87
analogous
#878BEC #B587EC #E887EC
triadic
#B587EC #ECB587 #87ECB5
tetradic
#B587EC #EC878B #BEEC87 #87ECE8
square
#B587EC #EC878B #BEEC87 #87ECE8
split-complementary
#B587EC #ECE887 #8BEC87
monochromatic
#7422D7 #9452E4 #B587EC #D6BCF4 #EFE5FB

Accessibility & contrast

On white

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

On black

7.64
#B587EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587EC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587EC#FFFFFF#000000##000000
##B587EC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b587ec;
/* rgb */ color: rgb(181, 135, 236);
/* oklch */ color: oklch(70.8% 0.150 303.8);
Tailwind
colors: {
  custom: {
    50: '#cdaaf2',
    500: '#b587ec',
    950: '#000000',
  },
}
SCSS
$custom: #b587ec;
$custom-light: #cdaaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b587ec",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 267.327,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70754,
    "c": 0.14965,
    "h": 303.8
  },
  "luminance": 0.33208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B587EC

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

Preview Lab → · Contrast checker → · Palette generator →

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