#BA4CE5#BA4CE5

#BA4CE5 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.6% C 0.231 H 314.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA4CE5
RGBrgb(186, 76, 229)
HSLhsl(283, 75%, 60%)
HSVhsv(283, 67%, 90%)
CMYKcmyk(18.8%, 66.8%, 0%, 10.2%)
CIE-LABlab(53.24, 66.55, -58.24)
CIE-LCHlch(53.24, 88.44, 318.81°)
OKLaboklab(62.6% 0.1634 -0.1638)
OKLCHoklch(62.6% 0.231 314.9)
XYZxyz(36.9747, 21.2664, 76.2707)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CE5 #77E54C
analogous
#6D4CE5 #BA4CE5 #E54CC4
triadic
#BA4CE5 #E5BA4C #4CE5BA
tetradic
#BA4CE5 #E56D4C #77E54C #4CC4E5
square
#BA4CE5 #E56D4C #77E54C #4CC4E5
split-complementary
#BA4CE5 #C4E54C #4CE56D
monochromatic
#79179F #A21FD5 #BA4CE5 #CF81ED #E3B7F5

Accessibility & contrast

On white

4.00
#BA4CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#BA4CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CE5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CE5#FFFFFF#000000##000000
##BA4CE51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#B76A93
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4ce5;
/* rgb */ color: rgb(186, 76, 229);
/* oklch */ color: oklch(62.6% 0.231 314.9);
Tailwind
colors: {
  custom: {
    50: '#d386ee',
    500: '#ba4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ce5;
$custom-light: #d386ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ce5",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 283.137,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62597,
    "c": 0.23137,
    "h": 314.9
  },
  "luminance": 0.21265
}

Semantic roles & 50–950 ramp

primary
#BA4CE5
secondary
#B9E4A9
accent
#F1376B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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