#BA59DF#BA59DF

#BA59DF is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.7% C 0.208 H 315.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA59DF
RGBrgb(186, 89, 223)
HSLhsl(283, 68%, 61%)
HSVhsv(283, 60%, 87%)
CMYKcmyk(16.6%, 60.1%, 0%, 12.5%)
CIE-LABlab(54.98, 59.58, -52.07)
CIE-LCHlch(54.98, 79.13, 318.85°)
OKLaboklab(63.74% 0.1487 -0.1458)
OKLCHoklch(63.74% 0.208 315.6)
XYZxyz(37.1393, 22.9128, 72.2640)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59DF #7EDF59
analogous
#7759DF #BA59DF #DF59C1
triadic
#BA59DF #DFBA59 #59DFBA
tetradic
#BA59DF #DF7759 #7EDF59 #59C1DF
square
#BA59DF #DF7759 #7EDF59 #59C1DF
split-complementary
#BA59DF #C1DF59 #59DF77
monochromatic
#7C1F9F #A329D2 #BA59DF #CF8CE9 #E5C0F3

Accessibility & contrast

On white

3.76
#BA59DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#BA59DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59DF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59DF#FFFFFF#000000##000000
##BA59DF1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE3
Deuteranopia (green-blind)
#5886DC
Tritanopia (blue-blind)
#B87094
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba59df;
/* rgb */ color: rgb(186, 89, 223);
/* oklch */ color: oklch(63.7% 0.208 315.6);
Tailwind
colors: {
  custom: {
    50: '#d28de9',
    500: '#ba59df',
    950: '#000000',
  },
}
SCSS
$custom: #ba59df;
$custom-light: #d28de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59df",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 283.433,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63744,
    "c": 0.2083,
    "h": 315.6
  },
  "luminance": 0.22912
}

Semantic roles & 50–950 ramp

primary
#BA59DF
secondary
#BFE3B1
accent
#D01649
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D16
muted
#837D84

Preview Lab

Preview with #BA59DF

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

Preview Lab → · Contrast checker → · Palette generator →

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