#BA5DE9#BA5DE9

#BA5DE9 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.8% C 0.213 H 312.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA5DE9
RGBrgb(186, 93, 233)
HSLhsl(280, 76%, 64%)
HSVhsv(280, 60%, 91%)
CMYKcmyk(20.2%, 60.1%, 0%, 8.6%)
CIE-LABlab(56.24, 59.75, -55.69)
CIE-LCHlch(56.24, 81.68, 317.02°)
OKLaboklab(64.84% 0.144 -0.1564)
OKLCHoklch(64.84% 0.213 312.6)
XYZxyz(38.8694, 24.1520, 79.6892)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DE9 #8CE95D
analogous
#745DE9 #BA5DE9 #E95DD2
triadic
#BA5DE9 #E9BA5D #5DE9BA
tetradic
#BA5DE9 #E9745D #8CE95D #5DD2E9
square
#BA5DE9 #E9745D #8CE95D #5DD2E9
split-complementary
#BA5DE9 #D2E95D #5DE974
monochromatic
#7F18B3 #A327E2 #BA5DE9 #D193F0 #E8C9F8

Accessibility & contrast

On white

3.60
#BA5DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#BA5DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DE9
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DE9#FFFFFF#000000##000000
##BA5DE91.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82ED
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#B5779B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba5de9;
/* rgb */ color: rgb(186, 93, 233);
/* oklch */ color: oklch(64.8% 0.213 312.6);
Tailwind
colors: {
  custom: {
    50: '#d290f1',
    500: '#ba5de9',
    950: '#000000',
  },
}
SCSS
$custom: #ba5de9;
$custom-light: #d290f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5de9",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 279.857,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64839,
    "c": 0.2126,
    "h": 312.6
  },
  "luminance": 0.24151
}

Semantic roles & 50–950 ramp

primary
#BA5DE9
secondary
#C9E9B8
accent
#D80D51
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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