#B587ED#B587ED

#B587ED is a light, vivid violet. Relative luminance 0.333; OKLCH L 70.8% C 0.151 H 303.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#B587ED
RGBrgb(181, 135, 237)
HSLhsl(267, 74%, 73%)
HSVhsv(267, 43%, 93%)
CMYKcmyk(23.6%, 43%, 0%, 7.1%)
CIE-LABlab(64.38, 37.40, -45.04)
CIE-LCHlch(64.38, 58.54, 309.70°)
OKLaboklab(70.8% 0.0835 -0.1257)
OKLCHoklch(70.8% 0.151 303.6)
XYZxyz(43.0028, 33.2662, 84.2599)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587ED #BFED87
analogous
#878CED #B587ED #E887ED
triadic
#B587ED #EDB587 #87EDB5
tetradic
#B587ED #ED878C #BFED87 #87EDE8
square
#B587ED #ED878C #BFED87 #87EDE8
split-complementary
#B587ED #EDE887 #8CED87
monochromatic
#7421D9 #9452E5 #B587ED #D6BCF5 #EFE4FB

Accessibility & contrast

On white

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

On black

7.65
#B587ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587ED
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587ED#FFFFFF#000000##000000
##B587ED1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#779CEA
Tritanopia (blue-blind)
#AC98AF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b587ed;
/* rgb */ color: rgb(181, 135, 237);
/* oklch */ color: oklch(70.8% 0.151 303.6);
Tailwind
colors: {
  custom: {
    50: '#cdaaf3',
    500: '#b587ed',
    950: '#000000',
  },
}
SCSS
$custom: #b587ed;
$custom-light: #cdaaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b587ed",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 267.059,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70805,
    "c": 0.15089,
    "h": 303.6
  },
  "luminance": 0.33266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B587ED

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

Preview Lab → · Contrast checker → · Palette generator →

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