#BA5BDF#BA5BDF

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

Color values

HEX#BA5BDF
RGBrgb(186, 91, 223)
HSLhsl(283, 67%, 62%)
HSVhsv(283, 59%, 87%)
CMYKcmyk(16.6%, 59.2%, 0%, 12.5%)
CIE-LABlab(55.33, 58.64, -51.52)
CIE-LCHlch(55.33, 78.06, 318.70°)
OKLaboklab(64% 0.1463 -0.1442)
OKLCHoklch(64% 0.205 315.4)
XYZxyz(37.3080, 23.2502, 72.3202)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BDF #80DF5B
analogous
#785BDF #BA5BDF #DF5BC2
triadic
#BA5BDF #DFBA5B #5BDFBA
tetradic
#BA5BDF #DF785B #80DF5B #5BC2DF
square
#BA5BDF #DF785B #80DF5B #5BC2DF
split-complementary
#BA5BDF #C2DF5B #5BDF78
monochromatic
#7C1FA0 #A429D4 #BA5BDF #D08EE9 #E5C1F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5BDF#FFFFFF#000000##000000
##BA5BDF1.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)
#337FE3
Deuteranopia (green-blind)
#5A87DC
Tritanopia (blue-blind)
#B87295
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5bdf;
/* rgb */ color: rgb(186, 91, 223);
/* oklch */ color: oklch(64.0% 0.205 315.4);
Tailwind
colors: {
  custom: {
    50: '#d28ee9',
    500: '#ba5bdf',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bdf;
$custom-light: #d28ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bdf",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 283.182,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63996,
    "c": 0.20544,
    "h": 315.4
  },
  "luminance": 0.23249
}

Semantic roles & 50–950 ramp

primary
#BA5BDF
secondary
#C0E3B2
accent
#CF164A
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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