#BD5DFB#BD5DFB

#BD5DFB is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.3% C 0.232 H 309.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BD5DFB
RGBrgb(189, 93, 251)
HSLhsl(276, 95%, 67%)
HSVhsv(276, 63%, 98%)
CMYKcmyk(24.7%, 62.9%, 0%, 1.6%)
CIE-LABlab(57.67, 64.24, -63.40)
CIE-LCHlch(57.67, 90.25, 315.38°)
OKLaboklab(66.29% 0.1472 -0.179)
OKLCHoklch(66.29% 0.232 309.4)
XYZxyz(42.3098, 25.6133, 93.9631)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5DFB #9BFB5D
analogous
#6E5DFB #BD5DFB #FB5DEA
triadic
#BD5DFB #FBBD5D #5DFBBD
tetradic
#BD5DFB #FB6E5D #9BFB5D #5DEAFB
square
#BD5DFB #FB6E5D #9BFB5D #5DEAFB
split-complementary
#BD5DFB #EAFB5D #5DFB6E
monochromatic
#8505D8 #A521FA #BD5DFB #D599FC #EED4FE

Accessibility & contrast

On white

3.43
#BD5DFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#BD5DFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5DFB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5DFB#FFFFFF#000000##000000
##BD5DFB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#468CF7
Tritanopia (blue-blind)
#B47DA4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bd5dfb;
/* rgb */ color: rgb(189, 93, 251);
/* oklch */ color: oklch(66.3% 0.232 309.4);
Tailwind
colors: {
  custom: {
    50: '#d590fd',
    500: '#bd5dfb',
    950: '#000000',
  },
}
SCSS
$custom: #bd5dfb;
$custom-light: #d590fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5dfb",
  "rgb": {
    "r": 189,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 276.456,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66292,
    "c": 0.23171,
    "h": 309.4
  },
  "luminance": 0.25613
}

Semantic roles & 50–950 ramp

primary
#BD5DFB
secondary
#D5F3C1
accent
#E6005A
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BD5DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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