#BD5DFE#BD5DFE

#BD5DFE is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.5% C 0.235 H 308.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#BD5DFE
RGBrgb(189, 93, 254)
HSLhsl(276, 99%, 68%)
HSVhsv(276, 63%, 100%)
CMYKcmyk(25.6%, 63.4%, 0%, 0.4%)
CIE-LABlab(57.85, 64.88, -64.76)
CIE-LCHlch(57.85, 91.67, 315.05°)
OKLaboklab(66.48% 0.147 -0.183)
OKLCHoklch(66.48% 0.235 308.8)
XYZxyz(42.7864, 25.8040, 96.4734)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5DFE #9EFE5D
analogous
#6C5DFE #BD5DFE #FE5DEF
triadic
#BD5DFE #FEBD5D #5DFEBD
tetradic
#BD5DFE #FE6C5D #9EFE5D #5DEFFE
square
#BD5DFE #FE6C5D #9EFE5D #5DEFFE
split-complementary
#BD5DFE #EFFE5D #5DFE6C
monochromatic
#8601DF #A420FE #BD5DFE #D69AFE #EFD7FF

Accessibility & contrast

On white

3.41
#BD5DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#BD5DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5DFE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5DFE#FFFFFF#000000##000000
##BD5DFE1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#428CFA
Tritanopia (blue-blind)
#B37EA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #bd5dfe;
/* rgb */ color: rgb(189, 93, 254);
/* oklch */ color: oklch(66.5% 0.235 308.8);
Tailwind
colors: {
  custom: {
    50: '#d590ff',
    500: '#bd5dfe',
    950: '#000000',
  },
}
SCSS
$custom: #bd5dfe;
$custom-light: #d590ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5dfe",
  "rgb": {
    "r": 189,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 275.776,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.23473,
    "h": 308.8
  },
  "luminance": 0.25803
}

Semantic roles & 50–950 ramp

primary
#BD5DFE
secondary
#D7F4C3
accent
#E6005D
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BD5DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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