#BD5AF2#BD5AF2

#BD5AF2 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.4% C 0.227 H 311.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BD5AF2
RGBrgb(189, 90, 242)
HSLhsl(279, 85%, 65%)
HSVhsv(279, 63%, 95%)
CMYKcmyk(21.9%, 62.8%, 0%, 5.1%)
CIE-LABlab(56.63, 63.71, -60.07)
CIE-LCHlch(56.63, 87.57, 316.69°)
OKLaboklab(65.37% 0.151 -0.1692)
OKLCHoklch(65.37% 0.227 311.7)
XYZxyz(40.6665, 24.5430, 86.5822)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD5AF2 #8FF25A
analogous
#715AF2 #BD5AF2 #F25ADB
triadic
#BD5AF2 #F2BD5A #5AF2BD
tetradic
#BD5AF2 #F2715A #8FF25A #5ADBF2
square
#BD5AF2 #F2715A #8FF25A #5ADBF2
split-complementary
#BD5AF2 #DBF25A #5AF271
monochromatic
#840FC2 #A621EE #BD5AF2 #D493F6 #EACBFB

Accessibility & contrast

On white

3.55
#BD5AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#BD5AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD5AF2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD5AF2#FFFFFF#000000##000000
##BD5AF21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B83F7
Deuteranopia (green-blind)
#4C8AEE
Tritanopia (blue-blind)
#B7789E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bd5af2;
/* rgb */ color: rgb(189, 90, 242);
/* oklch */ color: oklch(65.4% 0.227 311.7);
Tailwind
colors: {
  custom: {
    50: '#d58ef7',
    500: '#bd5af2',
    950: '#000000',
  },
}
SCSS
$custom: #bd5af2;
$custom-light: #d58ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd5af2",
  "rgb": {
    "r": 189,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 279.079,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65368,
    "c": 0.22673,
    "h": 311.7
  },
  "luminance": 0.24542
}

Semantic roles & 50–950 ramp

primary
#BD5AF2
secondary
#CCEEBA
accent
#E20451
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BD5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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