#B587FB#B587FB

#B587FB is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.5% C 0.168 H 300.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B587FB
RGBrgb(181, 135, 251)
HSLhsl(264, 94%, 76%)
HSVhsv(264, 46%, 98%)
CMYKcmyk(27.9%, 46.2%, 0%, 1.6%)
CIE-LABlab(65.05, 40.69, -51.67)
CIE-LCHlch(65.05, 65.77, 308.23°)
OKLaboklab(71.54% 0.0855 -0.145)
OKLCHoklch(71.54% 0.168 300.5)
XYZxyz(45.1286, 34.1165, 95.4557)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587FB #CDFB87
analogous
#8793FB #B587FB #EF87FB
triadic
#B587FB #FBB587 #87FBB5
tetradic
#B587FB #FB8793 #CDFB87 #87FBEF
square
#B587FB #FB8793 #CDFB87 #87FBEF
split-complementary
#B587FB #FBEF87 #93FB87
monochromatic
#6C11F7 #904CF9 #B587FB #DAC2FD #EDE1FE

Accessibility & contrast

On white

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

On black

7.82
#B587FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587FB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587FB#FFFFFF#000000##000000
##B587FB1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#A89CB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b587fb;
/* rgb */ color: rgb(181, 135, 251);
/* oklch */ color: oklch(71.5% 0.168 300.5);
Tailwind
colors: {
  custom: {
    50: '#ceabfd',
    500: '#b587fb',
    950: '#000000',
  },
}
SCSS
$custom: #b587fb;
$custom-light: #ceabfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b587fb",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 263.793,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71536,
    "c": 0.16829,
    "h": 300.5
  },
  "luminance": 0.34117
}

Semantic roles & 50–950 ramp

primary
#B587FB
secondary
#E9F6D5
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B587FB

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

Preview Lab → · Contrast checker → · Palette generator →

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