#B587FC#B587FC

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

Color values

HEX#B587FC
RGBrgb(181, 135, 252)
HSLhsl(264, 95%, 76%)
HSVhsv(264, 46%, 99%)
CMYKcmyk(28.2%, 46.4%, 0%, 1.2%)
CIE-LABlab(65.11, 40.93, -52.13)
CIE-LCHlch(65.11, 66.28, 308.14°)
OKLaboklab(71.59% 0.0856 -0.1463)
OKLCHoklch(71.59% 0.17 300.3)
XYZxyz(45.2867, 34.1798, 96.2881)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587FC #CEFC87
analogous
#8793FC #B587FC #F087FC
triadic
#B587FC #FCB587 #87FCB5
tetradic
#B587FC #FC8793 #CEFC87 #87FCF0
square
#B587FC #FC8793 #CEFC87 #87FCF0
split-complementary
#B587FC #FCF087 #93FC87
monochromatic
#6B10F9 #904BFB #B587FC #DAC3FD #EDE1FE

Accessibility & contrast

On white

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

On black

7.84
#B587FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587FC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587FC#FFFFFF#000000##000000
##B587FC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b587fc;
/* rgb */ color: rgb(181, 135, 252);
/* oklch */ color: oklch(71.6% 0.170 300.3);
Tailwind
colors: {
  custom: {
    50: '#ceabfe',
    500: '#b587fc',
    950: '#000000',
  },
}
SCSS
$custom: #b587fc;
$custom-light: #ceabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b587fc",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 263.59,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7159,
    "c": 0.16952,
    "h": 300.3
  },
  "luminance": 0.3418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B587FC

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

Preview Lab → · Contrast checker → · Palette generator →

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