#BD5BFE#BD5BFE

#BD5BFE is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.2% C 0.237 H 309.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#BD5BFE
RGBrgb(189, 91, 254)
HSLhsl(276, 99%, 68%)
HSVhsv(276, 64%, 100%)
CMYKcmyk(25.6%, 64.2%, 0%, 0.4%)
CIE-LABlab(57.52, 65.79, -65.30)
CIE-LCHlch(57.52, 92.70, 315.22°)
OKLaboklab(66.24% 0.1492 -0.1845)
OKLCHoklch(66.24% 0.237 309)
XYZxyz(42.6132, 25.4575, 96.4156)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5BFE #9CFE5B
analogous
#6C5BFE #BD5BFE #FE5BED
triadic
#BD5BFE #FEBD5B #5BFEBD
tetradic
#BD5BFE #FE6C5B #9CFE5B #5BEDFE
square
#BD5BFE #FE6C5B #9CFE5B #5BEDFE
split-complementary
#BD5BFE #EDFE5B #5BFE6C
monochromatic
#8601DD #A51EFE #BD5BFE #D598FE #EED5FF

Accessibility & contrast

On white

3.45
#BD5BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#BD5BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5BFE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5BFE#FFFFFF#000000##000000
##BD5BFE1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#408BFA
Tritanopia (blue-blind)
#B47DA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bd5bfe;
/* rgb */ color: rgb(189, 91, 254);
/* oklch */ color: oklch(66.2% 0.237 309.0);
Tailwind
colors: {
  custom: {
    50: '#d58fff',
    500: '#bd5bfe',
    950: '#000000',
  },
}
SCSS
$custom: #bd5bfe;
$custom-light: #d58fff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5bfe",
  "rgb": {
    "r": 189,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 276.074,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66243,
    "c": 0.23732,
    "h": 309
  },
  "luminance": 0.25457
}

Semantic roles & 50–950 ramp

primary
#BD5BFE
secondary
#D5F4C1
accent
#E6005C
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BD5BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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