#BD5DF8#BD5DF8

#BD5DF8 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 66.1% C 0.229 H 310.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BD5DF8
RGBrgb(189, 93, 248)
HSLhsl(277, 92%, 67%)
HSVhsv(277, 63%, 97%)
CMYKcmyk(23.8%, 62.5%, 0%, 2.7%)
CIE-LABlab(57.49, 63.60, -62.03)
CIE-LCHlch(57.49, 88.84, 315.72°)
OKLaboklab(66.1% 0.1473 -0.1749)
OKLCHoklch(66.1% 0.229 310.1)
XYZxyz(41.8406, 25.4257, 91.4923)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5DF8 #98F85D
analogous
#705DF8 #BD5DF8 #F85DE6
triadic
#BD5DF8 #F8BD5D #5DF8BD
tetradic
#BD5DF8 #F8705D #98F85D #5DE6F8
square
#BD5DF8 #F8705D #98F85D #5DE6F8
split-complementary
#BD5DF8 #E6F85D #5DF870
monochromatic
#8509D2 #A522F5 #BD5DF8 #D598FB #EDD2FD

Accessibility & contrast

On white

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

On black

6.08
#BD5DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5DF8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5DF8#FFFFFF#000000##000000
##BD5DF81.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0186FD
Deuteranopia (green-blind)
#498CF4
Tritanopia (blue-blind)
#B57CA2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bd5df8;
/* rgb */ color: rgb(189, 93, 248);
/* oklch */ color: oklch(66.1% 0.229 310.1);
Tailwind
colors: {
  custom: {
    50: '#d590fb',
    500: '#bd5df8',
    950: '#000000',
  },
}
SCSS
$custom: #bd5df8;
$custom-light: #d590fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5df8",
  "rgb": {
    "r": 189,
    "g": 93,
    "b": 248
  },
  "hsl": {
    "h": 277.161,
    "s": 91.716,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66104,
    "c": 0.2287,
    "h": 310.1
  },
  "luminance": 0.25425
}

Semantic roles & 50–950 ramp

primary
#BD5DF8
secondary
#D2F1C0
accent
#E60057
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BD5DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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