#BD5AFF#BD5AFF

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

Color values

HEX#BD5AFF
RGBrgb(189, 90, 255)
HSLhsl(276, 100%, 68%)
HSVhsv(276, 65%, 100%)
CMYKcmyk(25.9%, 64.7%, 0%, 0%)
CIE-LABlab(57.42, 66.46, -66.02)
CIE-LCHlch(57.42, 93.67, 315.19°)
OKLaboklab(66.19% 0.1502 -0.1866)
OKLCHoklch(66.19% 0.24 308.8)
XYZxyz(42.6888, 25.3519, 97.2329)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5AFF #9CFF5A
analogous
#6A5AFF #BD5AFF #FF5AEE
triadic
#BD5AFF #FFBD5A #5AFFBD
tetradic
#BD5AFF #FF6A5A #9CFF5A #5AEEFF
square
#BD5AFF #FF6A5A #9CFF5A #5AEEFF
split-complementary
#BD5AFF #EEFF5A #5AFF6A
monochromatic
#8600DF #A51DFF #BD5AFF #D597FF #EED4FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD5AFF#FFFFFF#000000##000000
##BD5AFF1.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)
#0086FF
Deuteranopia (green-blind)
#3D8BFB
Tritanopia (blue-blind)
#B37CA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bd5aff;
/* rgb */ color: rgb(189, 90, 255);
/* oklch */ color: oklch(66.2% 0.240 308.8);
Tailwind
colors: {
  custom: {
    50: '#d58fff',
    500: '#bd5aff',
    950: '#000000',
  },
}
SCSS
$custom: #bd5aff;
$custom-light: #d58fff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5aff",
  "rgb": {
    "r": 189,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 276,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66189,
    "c": 0.23958,
    "h": 308.8
  },
  "luminance": 0.25351
}

Semantic roles & 50–950 ramp

primary
#BD5AFF
secondary
#D5F4C1
accent
#E6005C
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BD5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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