#BA5CE6#BA5CE6

#BA5CE6 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.5% C 0.211 H 313.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#BA5CE6
RGBrgb(186, 92, 230)
HSLhsl(281, 73%, 63%)
HSVhsv(281, 60%, 90%)
CMYKcmyk(19.1%, 60%, 0%, 9.8%)
CIE-LABlab(55.89, 59.60, -54.55)
CIE-LCHlch(55.89, 80.80, 317.53°)
OKLaboklab(64.53% 0.1452 -0.1531)
OKLCHoklch(64.53% 0.211 313.5)
XYZxyz(38.3573, 23.8077, 77.4223)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CE6 #88E65C
analogous
#755CE6 #BA5CE6 #E65CCD
triadic
#BA5CE6 #E6BA5C #5CE6BA
tetradic
#BA5CE6 #E6755C #88E65C #5CCDE6
square
#BA5CE6 #E6755C #88E65C #5CCDE6
split-complementary
#BA5CE6 #CDE65C #5CE675
monochromatic
#7E1BAD #A427DE #BA5CE6 #D091EE #E7C6F6

Accessibility & contrast

On white

3.64
#BA5CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#BA5CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CE6
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CE6#FFFFFF#000000##000000
##BA5CE61.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C81EA
Deuteranopia (green-blind)
#5688E3
Tritanopia (blue-blind)
#B67599
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba5ce6;
/* rgb */ color: rgb(186, 92, 230);
/* oklch */ color: oklch(64.5% 0.211 313.5);
Tailwind
colors: {
  custom: {
    50: '#d28fee',
    500: '#ba5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ce6;
$custom-light: #d28fee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ce6",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 280.87,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64533,
    "c": 0.211,
    "h": 313.5
  },
  "luminance": 0.23807
}

Semantic roles & 50–950 ramp

primary
#BA5CE6
secondary
#C6E8B6
accent
#D6104F
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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