#BA5CDC#BA5CDC

#BA5CDC is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.0% C 0.201 H 316.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BA5CDC
RGBrgb(186, 92, 220)
HSLhsl(284, 65%, 61%)
HSVhsv(284, 58%, 86%)
CMYKcmyk(15.5%, 58.2%, 0%, 13.7%)
CIE-LABlab(55.34, 57.56, -49.81)
CIE-LCHlch(55.34, 76.11, 319.13°)
OKLaboklab(63.95% 0.145 -0.1393)
OKLCHoklch(63.95% 0.201 316.1)
XYZxyz(36.9932, 23.2620, 70.2376)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CDC #7EDC5C
analogous
#7A5CDC #BA5CDC #DC5CBE
triadic
#BA5CDC #DCBA5C #5CDCBA
tetradic
#BA5CDC #DC7A5C #7EDC5C #5CBEDC
square
#BA5CDC #DC7A5C #7EDC5C #5CBEDC
split-complementary
#BA5CDC #BEDC5C #5CDC7A
monochromatic
#7C229C #A32CCE #BA5CDC #CF8EE7 #E5C1F2

Accessibility & contrast

On white

3.72
#BA5CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#BA5CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CDC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CDC#FFFFFF#000000##000000
##BA5CDC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE0
Deuteranopia (green-blind)
#5D87D9
Tritanopia (blue-blind)
#B87293
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5cdc;
/* rgb */ color: rgb(186, 92, 220);
/* oklch */ color: oklch(64.0% 0.201 316.1);
Tailwind
colors: {
  custom: {
    50: '#d28fe7',
    500: '#ba5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cdc;
$custom-light: #d28fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cdc",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 284.063,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63952,
    "c": 0.20101,
    "h": 316.1
  },
  "luminance": 0.23261
}

Semantic roles & 50–950 ramp

primary
#BA5CDC
secondary
#BFE2B2
accent
#CC1949
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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