#BD5AF4#BD5AF4

#BD5AF4 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.5% C 0.229 H 311.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BD5AF4
RGBrgb(189, 90, 244)
HSLhsl(279, 88%, 65%)
HSVhsv(279, 63%, 96%)
CMYKcmyk(22.5%, 63.1%, 0%, 4.3%)
CIE-LABlab(56.75, 64.13, -60.99)
CIE-LCHlch(56.75, 88.51, 316.44°)
OKLaboklab(65.49% 0.1509 -0.1719)
OKLCHoklch(65.49% 0.229 311.3)
XYZxyz(40.9685, 24.6638, 88.1728)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5AF4 #91F45A
analogous
#705AF4 #BD5AF4 #F45ADE
triadic
#BD5AF4 #F4BD5A #5AF4BD
tetradic
#BD5AF4 #F4705A #91F45A #5ADEF4
square
#BD5AF4 #F4705A #91F45A #5ADEF4
split-complementary
#BD5AF4 #DEF45A #5AF470
monochromatic
#840DC6 #A621F0 #BD5AF4 #D493F8 #EBCDFC

Accessibility & contrast

On white

3.54
#BD5AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#BD5AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5AF4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5AF4#FFFFFF#000000##000000
##BD5AF41.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#4A8AF0
Tritanopia (blue-blind)
#B6789F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bd5af4;
/* rgb */ color: rgb(189, 90, 244);
/* oklch */ color: oklch(65.5% 0.229 311.3);
Tailwind
colors: {
  custom: {
    50: '#d58ef8',
    500: '#bd5af4',
    950: '#000000',
  },
}
SCSS
$custom: #bd5af4;
$custom-light: #d58ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5af4",
  "rgb": {
    "r": 189,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 278.571,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65492,
    "c": 0.22872,
    "h": 311.3
  },
  "luminance": 0.24663
}

Semantic roles & 50–950 ramp

primary
#BD5AF4
secondary
#CEEFBB
accent
#E40152
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BD5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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