#BA4CE6#BA4CE6

#BA4CE6 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.7% C 0.232 H 314.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA4CE6
RGBrgb(186, 76, 230)
HSLhsl(283, 75%, 60%)
HSVhsv(283, 67%, 90%)
CMYKcmyk(19.1%, 67%, 0%, 9.8%)
CIE-LABlab(53.30, 66.75, -58.71)
CIE-LCHlch(53.30, 88.89, 318.67°)
OKLaboklab(62.66% 0.1633 -0.1652)
OKLCHoklch(62.66% 0.232 314.7)
XYZxyz(37.1147, 21.3224, 77.0081)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CE6 #78E64C
analogous
#6D4CE6 #BA4CE6 #E64CC5
triadic
#BA4CE6 #E6BA4C #4CE6BA
tetradic
#BA4CE6 #E66D4C #78E64C #4CC5E6
square
#BA4CE6 #E66D4C #78E64C #4CC5E6
split-complementary
#BA4CE6 #C5E64C #4CE66D
monochromatic
#7917A1 #A21ED7 #BA4CE6 #CF82ED #E3B7F5

Accessibility & contrast

On white

3.99
#BA4CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#BA4CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CE6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CE6#FFFFFF#000000##000000
##BA4CE61.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#4782E2
Tritanopia (blue-blind)
#B66A93
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4ce6;
/* rgb */ color: rgb(186, 76, 230);
/* oklch */ color: oklch(62.7% 0.232 314.7);
Tailwind
colors: {
  custom: {
    50: '#d386ef',
    500: '#ba4ce6',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ce6;
$custom-light: #d386ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ce6",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 282.857,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.6266,
    "c": 0.23229,
    "h": 314.7
  },
  "luminance": 0.21321
}

Semantic roles & 50–950 ramp

primary
#BA4CE6
secondary
#BAE5A9
accent
#F2366C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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