#BA5CDF#BA5CDF

#BA5CDF is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.1% C 0.204 H 315.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BA5CDF
RGBrgb(186, 92, 223)
HSLhsl(283, 67%, 62%)
HSVhsv(283, 59%, 87%)
CMYKcmyk(16.6%, 58.7%, 0%, 12.5%)
CIE-LABlab(55.50, 58.16, -51.24)
CIE-LCHlch(55.50, 77.51, 318.62°)
OKLaboklab(64.12% 0.1451 -0.1434)
OKLCHoklch(64.12% 0.204 315.3)
XYZxyz(37.3940, 23.4223, 72.3489)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CDF #81DF5C
analogous
#795CDF #BA5CDF #DF5CC3
triadic
#BA5CDF #DFBA5C #5CDFBA
tetradic
#BA5CDF #DF795C #81DF5C #5CC3DF
square
#BA5CDF #DF795C #81DF5C #5CC3DF
split-complementary
#BA5CDF #C3DF5C #5CDF79
monochromatic
#7C20A1 #A42AD4 #BA5CDF #D08FE9 #E5C2F3

Accessibility & contrast

On white

3.69
#BA5CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#BA5CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CDF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CDF#FFFFFF#000000##000000
##BA5CDF1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE3
Deuteranopia (green-blind)
#5B88DC
Tritanopia (blue-blind)
#B77395
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5cdf;
/* rgb */ color: rgb(186, 92, 223);
/* oklch */ color: oklch(64.1% 0.204 315.3);
Tailwind
colors: {
  custom: {
    50: '#d28fe9',
    500: '#ba5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cdf;
$custom-light: #d28fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cdf",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 283.053,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64124,
    "c": 0.204,
    "h": 315.3
  },
  "luminance": 0.23421
}

Semantic roles & 50–950 ramp

primary
#BA5CDF
secondary
#C1E4B3
accent
#CF164B
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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