#BD5DF7#BD5DF7

#BD5DF7 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 66.0% C 0.228 H 310.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#BD5DF7
RGBrgb(189, 93, 247)
HSLhsl(277, 91%, 67%)
HSVhsv(277, 62%, 97%)
CMYKcmyk(23.5%, 62.3%, 0%, 3.1%)
CIE-LABlab(57.43, 63.39, -61.57)
CIE-LCHlch(57.43, 88.36, 315.83°)
OKLaboklab(66.04% 0.1474 -0.1736)
OKLCHoklch(66.04% 0.228 310.3)
XYZxyz(41.6859, 25.3638, 90.6774)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5DF7 #97F75D
analogous
#705DF7 #BD5DF7 #F75DE4
triadic
#BD5DF7 #F7BD5D #5DF7BD
tetradic
#BD5DF7 #F7705D #97F75D #5DE4F7
square
#BD5DF7 #F7705D #97F75D #5DE4F7
split-complementary
#BD5DF7 #E4F75D #5DF770
monochromatic
#850ACF #A523F4 #BD5DF7 #D597FA #EDD2FD

Accessibility & contrast

On white

3.46
#BD5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#BD5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5DF7
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5DF7#FFFFFF#000000##000000
##BD5DF71.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0786FC
Deuteranopia (green-blind)
#4A8CF3
Tritanopia (blue-blind)
#B57BA2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bd5df7;
/* rgb */ color: rgb(189, 93, 247);
/* oklch */ color: oklch(66.0% 0.228 310.3);
Tailwind
colors: {
  custom: {
    50: '#d590fb',
    500: '#bd5df7',
    950: '#000000',
  },
}
SCSS
$custom: #bd5df7;
$custom-light: #d590fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5df7",
  "rgb": {
    "r": 189,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 277.403,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66042,
    "c": 0.22769,
    "h": 310.3
  },
  "luminance": 0.25363
}

Semantic roles & 50–950 ramp

primary
#BD5DF7
secondary
#D2F1BF
accent
#E60056
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BD5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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