#BA5CE9#BA5CE9

#BA5CE9 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.7% C 0.214 H 312.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BA5CE9
RGBrgb(186, 92, 233)
HSLhsl(280, 76%, 64%)
HSVhsv(280, 61%, 91%)
CMYKcmyk(20.2%, 60.5%, 0%, 8.6%)
CIE-LABlab(56.07, 60.23, -55.96)
CIE-LCHlch(56.07, 82.21, 317.10°)
OKLaboklab(64.71% 0.1452 -0.1572)
OKLCHoklch(64.71% 0.214 312.7)
XYZxyz(38.7822, 23.9776, 79.6602)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CE9 #8BE95C
analogous
#735CE9 #BA5CE9 #E95CD1
triadic
#BA5CE9 #E9BA5C #5CE9BA
tetradic
#BA5CE9 #E9735C #8BE95C #5CD1E9
square
#BA5CE9 #E9735C #8BE95C #5CD1E9
split-complementary
#BA5CE9 #D1E95C #5CE973
monochromatic
#7F18B3 #A326E2 #BA5CE9 #D192F0 #E8C8F8

Accessibility & contrast

On white

3.62
#BA5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#BA5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CE9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CE9#FFFFFF#000000##000000
##BA5CE91.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2781ED
Deuteranopia (green-blind)
#5388E6
Tritanopia (blue-blind)
#B5769A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba5ce9;
/* rgb */ color: rgb(186, 92, 233);
/* oklch */ color: oklch(64.7% 0.214 312.7);
Tailwind
colors: {
  custom: {
    50: '#d28ff1',
    500: '#ba5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ce9;
$custom-light: #d28ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ce9",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 280,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64712,
    "c": 0.21401,
    "h": 312.7
  },
  "luminance": 0.23977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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