#BA4CE1#BA4CE1

#BA4CE1 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.3% C 0.228 H 315.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA4CE1
RGBrgb(186, 76, 225)
HSLhsl(284, 71%, 59%)
HSVhsv(284, 66%, 88%)
CMYKcmyk(17.3%, 66.2%, 0%, 11.8%)
CIE-LABlab(53.00, 65.76, -56.37)
CIE-LCHlch(53.00, 86.62, 319.40°)
OKLaboklab(62.35% 0.1636 -0.1583)
OKLCHoklch(62.35% 0.228 315.9)
XYZxyz(36.4226, 21.0456, 73.3632)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CE1 #73E14C
analogous
#704CE1 #BA4CE1 #E14CBE
triadic
#BA4CE1 #E1BA4C #4CE1BA
tetradic
#BA4CE1 #E1704C #73E14C #4CBEE1
square
#BA4CE1 #E1704C #73E14C #4CBEE1
split-complementary
#BA4CE1 #BEE14C #4CE170
monochromatic
#781A99 #A122CD #BA4CE1 #CE80EA #E2B5F3

Accessibility & contrast

On white

4.03
#BA4CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#BA4CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CE1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CE1#FFFFFF#000000##000000
##BA4CE11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#4B82DE
Tritanopia (blue-blind)
#B76991
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4ce1;
/* rgb */ color: rgb(186, 76, 225);
/* oklch */ color: oklch(62.3% 0.228 315.9);
Tailwind
colors: {
  custom: {
    50: '#d386eb',
    500: '#ba4ce1',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ce1;
$custom-light: #d386eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ce1",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 284.295,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62348,
    "c": 0.22768,
    "h": 315.9
  },
  "luminance": 0.21044
}

Semantic roles & 50–950 ramp

primary
#BA4CE1
secondary
#B6E2A7
accent
#EE3A69
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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