#BD5AF7#BD5AF7

#BD5AF7 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.7% C 0.232 H 310.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BD5AF7
RGBrgb(189, 90, 247)
HSLhsl(278, 91%, 66%)
HSVhsv(278, 64%, 97%)
CMYKcmyk(23.5%, 63.6%, 0%, 3.1%)
CIE-LABlab(56.93, 64.76, -62.37)
CIE-LCHlch(56.93, 89.91, 316.08°)
OKLaboklab(65.68% 0.1507 -0.1759)
OKLCHoklch(65.68% 0.232 310.6)
XYZxyz(41.4277, 24.8474, 90.5913)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5AF7 #94F75A
analogous
#6E5AF7 #BD5AF7 #F75AE3
triadic
#BD5AF7 #F7BD5A #5AF7BD
tetradic
#BD5AF7 #F76E5A #94F75A #5AE3F7
square
#BD5AF7 #F76E5A #94F75A #5AE3F7
split-complementary
#BD5AF7 #E3F75A #5AF76E
monochromatic
#850ACD #A620F4 #BD5AF7 #D494FA #ECCFFD

Accessibility & contrast

On white

3.52
#BD5AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#BD5AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5AF7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5AF7#FFFFFF#000000##000000
##BD5AF71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#478AF3
Tritanopia (blue-blind)
#B579A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bd5af7;
/* rgb */ color: rgb(189, 90, 247);
/* oklch */ color: oklch(65.7% 0.232 310.6);
Tailwind
colors: {
  custom: {
    50: '#d58efb',
    500: '#bd5af7',
    950: '#000000',
  },
}
SCSS
$custom: #bd5af7;
$custom-light: #d58efb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5af7",
  "rgb": {
    "r": 189,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 277.834,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6568,
    "c": 0.23168,
    "h": 310.6
  },
  "luminance": 0.24847
}

Semantic roles & 50–950 ramp

primary
#BD5AF7
secondary
#D0F0BD
accent
#E60055
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BD5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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