#BA4CE9#BA4CE9

#BA4CE9 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.9% C 0.235 H 313.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA4CE9
RGBrgb(186, 76, 233)
HSLhsl(282, 78%, 61%)
HSVhsv(282, 67%, 91%)
CMYKcmyk(20.2%, 67.4%, 0%, 8.6%)
CIE-LABlab(53.48, 67.35, -60.10)
CIE-LCHlch(53.48, 90.27, 318.25°)
OKLaboklab(62.85% 0.1631 -0.1693)
OKLCHoklch(62.85% 0.235 313.9)
XYZxyz(37.5396, 21.4924, 79.2460)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CE9 #7BE94C
analogous
#6B4CE9 #BA4CE9 #E94CC9
triadic
#BA4CE9 #E9BA4C #4CE9BA
tetradic
#BA4CE9 #E96B4C #7BE94C #4CC9E9
square
#BA4CE9 #E96B4C #7BE94C #4CC9E9
split-complementary
#BA4CE9 #C9E94C #4CE96B
monochromatic
#7B14A6 #A31BDD #BA4CE9 #CF83F0 #E4B9F6

Accessibility & contrast

On white

3.96
#BA4CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#BA4CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CE9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CE9#FFFFFF#000000##000000
##BA4CE91.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#B66C95
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba4ce9;
/* rgb */ color: rgb(186, 76, 233);
/* oklch */ color: oklch(62.9% 0.235 313.9);
Tailwind
colors: {
  custom: {
    50: '#d386f1',
    500: '#ba4ce9',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ce9;
$custom-light: #d386f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ce9",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 282.038,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62851,
    "c": 0.23507,
    "h": 313.9
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

primary
#BA4CE9
secondary
#BCE6AB
accent
#DA0B49
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA4CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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