#B587FA#B587FA

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

Color values

HEX#B587FA
RGBrgb(181, 135, 250)
HSLhsl(264, 92%, 75%)
HSVhsv(264, 46%, 98%)
CMYKcmyk(27.6%, 46%, 0%, 2%)
CIE-LABlab(65.01, 40.46, -51.20)
CIE-LCHlch(65.01, 65.25, 308.32°)
OKLaboklab(71.48% 0.0853 -0.1436)
OKLCHoklch(71.48% 0.167 300.7)
XYZxyz(44.9714, 34.0537, 94.6277)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B587FA #CCFA87
analogous
#8792FA #B587FA #EE87FA
triadic
#B587FA #FAB587 #87FAB5
tetradic
#B587FA #FA8792 #CCFA87 #87FAEE
square
#B587FA #FA8792 #CCFA87 #87FAEE
split-complementary
#B587FA #FAEE87 #92FA87
monochromatic
#6D11F5 #914CF8 #B587FA #D9C2FC #EDE2FE

Accessibility & contrast

On white

2.69
#B587FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B587FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B587FA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B587FA#FFFFFF#000000##000000
##B587FA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#6F9DF7
Tritanopia (blue-blind)
#A89CB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b587fa;
/* rgb */ color: rgb(181, 135, 250);
/* oklch */ color: oklch(71.5% 0.167 300.7);
Tailwind
colors: {
  custom: {
    50: '#ceabfc',
    500: '#b587fa',
    950: '#000000',
  },
}
SCSS
$custom: #b587fa;
$custom-light: #ceabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b587fa",
  "rgb": {
    "r": 181,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 264,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71482,
    "c": 0.16704,
    "h": 300.7
  },
  "luminance": 0.34054
}

Semantic roles & 50–950 ramp

primary
#B587FA
secondary
#E9F6D5
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B587FA

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

Preview Lab → · Contrast checker → · Palette generator →

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