#B587DB#B587DB

#B587DB is a light, vivid violet. Relative luminance 0.323; OKLCH L 69.9% C 0.129 H 308.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B587DB
RGBrgb(181, 135, 219)
HSLhsl(273, 54%, 69%)
HSVhsv(273, 38%, 86%)
CMYKcmyk(17.4%, 38.4%, 0%, 14.1%)
CIE-LABlab(63.56, 33.32, -36.34)
CIE-LCHlch(63.56, 49.30, 312.52°)
OKLaboklab(69.93% 0.0801 -0.1006)
OKLCHoklch(69.93% 0.129 308.6)
XYZxyz(40.5038, 32.2666, 71.0984)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587DB #ADDB87
analogous
#8B87DB #B587DB #DB87D7
triadic
#B587DB #DBB587 #87DBB5
tetradic
#B587DB #DB8B87 #ADDB87 #87D7DB
square
#B587DB #DB8B87 #ADDB87 #87D7DB
split-complementary
#B587DB #D7DB87 #87DB8B
monochromatic
#7A35B2 #9858CD #B587DB #D2B6E9 #EFE5F7

Accessibility & contrast

On white

2.82
#B587DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B587DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587DB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587DB#FFFFFF#000000##000000
##B587DB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#809BD9
Tritanopia (blue-blind)
#B093A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b587db;
/* rgb */ color: rgb(181, 135, 219);
/* oklch */ color: oklch(69.9% 0.129 308.6);
Tailwind
colors: {
  custom: {
    50: '#ccaae6',
    500: '#b587db',
    950: '#000000',
  },
}
SCSS
$custom: #b587db;
$custom-light: #ccaae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b587db",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 272.857,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69925,
    "c": 0.12859,
    "h": 308.6
  },
  "luminance": 0.32266
}

Semantic roles & 50–950 ramp

primary
#B587DB
secondary
#DEEBD3
accent
#C1246B
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B587DB

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

Preview Lab → · Contrast checker → · Palette generator →

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