#BA59DE#BA59DE

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

Color values

HEX#BA59DE
RGBrgb(186, 89, 222)
HSLhsl(284, 67%, 61%)
HSVhsv(284, 60%, 87%)
CMYKcmyk(16.2%, 59.9%, 0%, 12.9%)
CIE-LABlab(54.93, 59.38, -51.60)
CIE-LCHlch(54.93, 78.66, 319.01°)
OKLaboklab(63.69% 0.1487 -0.1445)
OKLCHoklch(63.69% 0.207 315.8)
XYZxyz(37.0049, 22.8591, 71.5560)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59DE #7DDE59
analogous
#7759DE #BA59DE #DE59C0
triadic
#BA59DE #DEBA59 #59DEBA
tetradic
#BA59DE #DE7759 #7DDE59 #59C0DE
square
#BA59DE #DE7759 #7DDE59 #59C0DE
split-complementary
#BA59DE #C0DE59 #59DE77
monochromatic
#7B1F9D #A329D0 #BA59DE #CF8CE8 #E4BFF2

Accessibility & contrast

On white

3.77
#BA59DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#BA59DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59DE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59DE#FFFFFF#000000##000000
##BA59DE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE2
Deuteranopia (green-blind)
#5986DB
Tritanopia (blue-blind)
#B87093
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba59de;
/* rgb */ color: rgb(186, 89, 222);
/* oklch */ color: oklch(63.7% 0.207 315.8);
Tailwind
colors: {
  custom: {
    50: '#d28de9',
    500: '#ba59de',
    950: '#000000',
  },
}
SCSS
$custom: #ba59de;
$custom-light: #d28de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59de",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 283.759,
    "s": 66.834,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63685,
    "c": 0.20732,
    "h": 315.8
  },
  "luminance": 0.22858
}

Semantic roles & 50–950 ramp

primary
#BA59DE
secondary
#BEE2B0
accent
#CF1749
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D16
muted
#837D84

Preview Lab

Preview with #BA59DE

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

Preview Lab → · Contrast checker → · Palette generator →

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