#BA57DA#BA57DA

#BA57DA is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.2% C 0.206 H 317.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BA57DA
RGBrgb(186, 87, 218)
HSLhsl(285, 64%, 60%)
HSVhsv(285, 60%, 85%)
CMYKcmyk(14.7%, 60.1%, 0%, 14.5%)
CIE-LABlab(54.36, 59.51, -50.23)
CIE-LCHlch(54.36, 77.88, 319.83°)
OKLaboklab(63.21% 0.1511 -0.1405)
OKLCHoklch(63.21% 0.206 317.1)
XYZxyz(36.3109, 22.3188, 68.7113)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA57DA #77DA57
analogous
#7957DA #BA57DA #DA57B8
triadic
#BA57DA #DABA57 #57DABA
tetradic
#BA57DA #DA7957 #77DA57 #57B8DA
square
#BA57DA #DA7957 #77DA57 #57B8DA
split-complementary
#BA57DA #B8DA57 #57DA79
monochromatic
#792196 #A22CC8 #BA57DA #CF89E5 #E3BBF0

Accessibility & contrast

On white

3.84
#BA57DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#BA57DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA57DA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA57DA#FFFFFF#000000##000000
##BA57DA1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDE
Deuteranopia (green-blind)
#5A85D7
Tritanopia (blue-blind)
#B96D91
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba57da;
/* rgb */ color: rgb(186, 87, 218);
/* oklch */ color: oklch(63.2% 0.206 317.1);
Tailwind
colors: {
  custom: {
    50: '#d28ce6',
    500: '#ba57da',
    950: '#000000',
  },
}
SCSS
$custom: #ba57da;
$custom-light: #d28ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba57da",
  "rgb": {
    "r": 186,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 285.344,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63205,
    "c": 0.20628,
    "h": 317.1
  },
  "luminance": 0.22317
}

Semantic roles & 50–950 ramp

primary
#BA57DA
secondary
#B9E0AD
accent
#E74169
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA57DA

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

Preview Lab → · Contrast checker → · Palette generator →

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