#B587FE#B587FE

#B587FE is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.7% C 0.172 H 299.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B587FE
RGBrgb(181, 135, 254)
HSLhsl(263, 98%, 76%)
HSVhsv(263, 47%, 100%)
CMYKcmyk(28.7%, 46.9%, 0%, 0.4%)
CIE-LABlab(65.21, 41.41, -53.07)
CIE-LCHlch(65.21, 67.32, 307.97°)
OKLaboklab(71.7% 0.0858 -0.1491)
OKLCHoklch(71.7% 0.172 299.9)
XYZxyz(45.6053, 34.3072, 97.9660)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587FE #D0FE87
analogous
#8795FE #B587FE #F087FE
triadic
#B587FE #FEB587 #87FEB5
tetradic
#B587FE #FE8795 #D0FE87 #87FEF0
square
#B587FE #FE8795 #D0FE87 #87FEF0
split-complementary
#B587FE #FEF087 #95FE87
monochromatic
#6A0EFD #904AFD #B587FE #DAC4FF #ECE1FF

Accessibility & contrast

On white

2.67
#B587FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#B587FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587FE
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587FE#FFFFFF#000000##000000
##B587FE1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#6D9DFB
Tritanopia (blue-blind)
#A79DB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b587fe;
/* rgb */ color: rgb(181, 135, 254);
/* oklch */ color: oklch(71.7% 0.172 299.9);
Tailwind
colors: {
  custom: {
    50: '#ceabff',
    500: '#b587fe',
    950: '#000000',
  },
}
SCSS
$custom: #b587fe;
$custom-light: #ceabff;
$custom-dark: #000000;
JSON
{
  "hex": "#b587fe",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 263.193,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71698,
    "c": 0.172,
    "h": 299.9
  },
  "luminance": 0.34307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B587FE

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

Preview Lab → · Contrast checker → · Palette generator →

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