#BA4CE3#BA4CE3

#BA4CE3 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.5% C 0.230 H 315.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA4CE3
RGBrgb(186, 76, 227)
HSLhsl(284, 73%, 59%)
HSVhsv(284, 67%, 89%)
CMYKcmyk(18.1%, 66.5%, 0%, 11%)
CIE-LABlab(53.12, 66.16, -57.31)
CIE-LCHlch(53.12, 87.53, 319.10°)
OKLaboklab(62.47% 0.1635 -0.1611)
OKLCHoklch(62.47% 0.23 315.4)
XYZxyz(36.6971, 21.1554, 74.8085)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CE3 #75E34C
analogous
#6F4CE3 #BA4CE3 #E34CC0
triadic
#BA4CE3 #E3BA4C #4CE3BA
tetradic
#BA4CE3 #E36F4C #75E34C #4CC0E3
square
#BA4CE3 #E36F4C #75E34C #4CC0E3
split-complementary
#BA4CE3 #C0E34C #4CE36F
monochromatic
#78189C #A121D1 #BA4CE3 #CE81EB #E3B6F4

Accessibility & contrast

On white

4.01
#BA4CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#BA4CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CE3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CE3#FFFFFF#000000##000000
##BA4CE31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#4982DF
Tritanopia (blue-blind)
#B76992
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4ce3;
/* rgb */ color: rgb(186, 76, 227);
/* oklch */ color: oklch(62.5% 0.230 315.4);
Tailwind
colors: {
  custom: {
    50: '#d386ec',
    500: '#ba4ce3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ce3;
$custom-light: #d386ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ce3",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 283.709,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62472,
    "c": 0.22953,
    "h": 315.4
  },
  "luminance": 0.21154
}

Semantic roles & 50–950 ramp

primary
#BA4CE3
secondary
#B8E3A8
accent
#F0386A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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