#B587DC#B587DC

#B587DC is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.0% C 0.130 H 308.2°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B587DC
RGBrgb(181, 135, 220)
HSLhsl(272, 55%, 70%)
HSVhsv(272, 39%, 86%)
CMYKcmyk(17.7%, 38.6%, 0%, 13.7%)
CIE-LABlab(63.61, 33.54, -36.82)
CIE-LCHlch(63.61, 49.81, 312.33°)
OKLaboklab(69.97% 0.0804 -0.102)
OKLCHoklch(69.97% 0.13 308.2)
XYZxyz(40.6359, 32.3194, 71.7938)
Luminance0.3232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587DC #AEDC87
analogous
#8B87DC #B587DC #DC87D8
triadic
#B587DC #DCB587 #87DCB5
tetradic
#B587DC #DC8B87 #AEDC87 #87D8DC
square
#B587DC #DC8B87 #AEDC87 #87D8DC
split-complementary
#B587DC #D8DC87 #87DC8B
monochromatic
#7A35B4 #9858CE #B587DC #D2B6EA #EFE6F8

Accessibility & contrast

On white

2.81
#B587DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B587DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587DC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587DC#FFFFFF#000000##000000
##B587DC1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#809BDA
Tritanopia (blue-blind)
#B094A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b587dc;
/* rgb */ color: rgb(181, 135, 220);
/* oklch */ color: oklch(70.0% 0.130 308.2);
Tailwind
colors: {
  custom: {
    50: '#ccaae7',
    500: '#b587dc',
    950: '#000000',
  },
}
SCSS
$custom: #b587dc;
$custom-light: #ccaae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b587dc",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 272.471,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69972,
    "c": 0.12982,
    "h": 308.2
  },
  "luminance": 0.32319
}

Semantic roles & 50–950 ramp

primary
#B587DC
secondary
#DEECD3
accent
#C2236C
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B587DC

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

Preview Lab → · Contrast checker → · Palette generator →

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