#BA5DC2#BA5DC2

#BA5DC2 is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.7% C 0.174 H 324.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA5DC2
RGBrgb(186, 93, 194)
HSLhsl(295, 45%, 56%)
HSVhsv(295, 52%, 76%)
CMYKcmyk(4.1%, 52.1%, 0%, 23.9%)
CIE-LABlab(54.20, 52.00, -36.80)
CIE-LCHlch(54.20, 63.71, 324.71°)
OKLaboklab(62.69% 0.1415 -0.1015)
OKLCHoklch(62.69% 0.174 324.3)
XYZxyz(33.9008, 22.1646, 53.5210)
Luminance0.2216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DC2 #65C25D
analogous
#885DC2 #BA5DC2 #C25D98
triadic
#BA5DC2 #C2BA5D #5DC2BA
tetradic
#BA5DC2 #C2885D #65C25D #5D98C2
square
#BA5DC2 #C2885D #65C25D #5D98C2
split-complementary
#BA5DC2 #98C25D #5DC288
monochromatic
#722D78 #9C3EA4 #BA5DC2 #CD89D3 #E0B6E3

Accessibility & contrast

On white

3.87
#BA5DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#BA5DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DC2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DC2#FFFFFF#000000##000000
##BA5DC21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#507AC5
Deuteranopia (green-blind)
#6D86BF
Tritanopia (blue-blind)
#BD6A87
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5dc2;
/* rgb */ color: rgb(186, 93, 194);
/* oklch */ color: oklch(62.7% 0.174 324.3);
Tailwind
colors: {
  custom: {
    50: '#d18fd5',
    500: '#ba5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dc2;
$custom-light: #d18fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dc2",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 295.248,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62687,
    "c": 0.1742,
    "h": 324.3
  },
  "luminance": 0.22163
}

Semantic roles & 50–950 ramp

primary
#BA5DC2
secondary
#ACD2A9
accent
#D5535D
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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