#B587DF#B587DF

#B587DF is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.1% C 0.134 H 307.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#B587DF
RGBrgb(181, 135, 223)
HSLhsl(271, 58%, 70%)
HSVhsv(271, 39%, 87%)
CMYKcmyk(18.8%, 39.5%, 0%, 12.5%)
CIE-LABlab(63.74, 34.21, -38.29)
CIE-LCHlch(63.74, 51.34, 311.78°)
OKLaboklab(70.11% 0.0809 -0.1062)
OKLCHoklch(70.11% 0.134 307.3)
XYZxyz(41.0367, 32.4798, 73.9051)
Luminance0.3248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587DF #B1DF87
analogous
#8987DF #B587DF #DF87DD
triadic
#B587DF #DFB587 #87DFB5
tetradic
#B587DF #DF8987 #B1DF87 #87DDDF
square
#B587DF #DF8987 #B1DF87 #87DDDF
split-complementary
#B587DF #DDDF87 #87DF89
monochromatic
#7932BA #9757D2 #B587DF #D3B7EC #F0E7F9

Accessibility & contrast

On white

2.80
#B587DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#B587DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587DF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587DF#FFFFFF#000000##000000
##B587DF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7499E2
Deuteranopia (green-blind)
#7E9BDD
Tritanopia (blue-blind)
#AF94A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b587df;
/* rgb */ color: rgb(181, 135, 223);
/* oklch */ color: oklch(70.1% 0.134 307.3);
Tailwind
colors: {
  custom: {
    50: '#ccaae9',
    500: '#b587df',
    950: '#000000',
  },
}
SCSS
$custom: #b587df;
$custom-light: #ccaae9;
$custom-dark: #000000;
JSON
{
  "hex": "#b587df",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 271.364,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70114,
    "c": 0.13352,
    "h": 307.3
  },
  "luminance": 0.32479
}

Semantic roles & 50–950 ramp

primary
#B587DF
secondary
#E0EDD5
accent
#C5206F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B587DF

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

Preview Lab → · Contrast checker → · Palette generator →

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