#B587FD#B587FD

#B587FD is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.6% C 0.171 H 300.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B587FD
RGBrgb(181, 135, 253)
HSLhsl(263, 97%, 76%)
HSVhsv(263, 47%, 99%)
CMYKcmyk(28.5%, 46.6%, 0%, 0.8%)
CIE-LABlab(65.16, 41.17, -52.60)
CIE-LCHlch(65.16, 66.80, 308.05°)
OKLaboklab(71.64% 0.0857 -0.1477)
OKLCHoklch(71.64% 0.171 300.1)
XYZxyz(45.4455, 34.2433, 97.1248)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587FD #CFFD87
analogous
#8794FD #B587FD #F087FD
triadic
#B587FD #FDB587 #87FDB5
tetradic
#B587FD #FD8794 #CFFD87 #87FDF0
square
#B587FD #FD8794 #CFFD87 #87FDF0
split-complementary
#B587FD #FDF087 #94FD87
monochromatic
#6B0FFB #904BFC #B587FD #DAC3FE #ECE1FE

Accessibility & contrast

On white

2.68
#B587FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#B587FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587FD
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587FD#FFFFFF#000000##000000
##B587FD1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#A79CB6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b587fd;
/* rgb */ color: rgb(181, 135, 253);
/* oklch */ color: oklch(71.6% 0.171 300.1);
Tailwind
colors: {
  custom: {
    50: '#ceabfe',
    500: '#b587fd',
    950: '#000000',
  },
}
SCSS
$custom: #b587fd;
$custom-light: #ceabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b587fd",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 263.39,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71644,
    "c": 0.17077,
    "h": 300.1
  },
  "luminance": 0.34244
}

Semantic roles & 50–950 ramp

primary
#B587FD
secondary
#E9F7D4
accent
#E6008C
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B587FD

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

Preview Lab → · Contrast checker → · Palette generator →

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