#BA58DE#BA58DE

#BA58DE is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.6% C 0.209 H 315.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BA58DE
RGBrgb(186, 88, 222)
HSLhsl(284, 67%, 61%)
HSVhsv(284, 60%, 87%)
CMYKcmyk(16.2%, 60.4%, 0%, 12.9%)
CIE-LABlab(54.76, 59.85, -51.87)
CIE-LCHlch(54.76, 79.20, 319.08°)
OKLaboklab(63.56% 0.1499 -0.1453)
OKLCHoklch(63.56% 0.209 315.9)
XYZxyz(36.9222, 22.6938, 71.5285)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA58DE #7CDE58
analogous
#7758DE #BA58DE #DE58BF
triadic
#BA58DE #DEBA58 #58DEBA
tetradic
#BA58DE #DE7758 #7CDE58 #58BFDE
square
#BA58DE #DE7758 #7CDE58 #58BFDE
split-complementary
#BA58DE #BFDE58 #58DE77
monochromatic
#7B1F9D #A329D0 #BA58DE #CF8BE8 #E4BEF2

Accessibility & contrast

On white

3.79
#BA58DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#BA58DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA58DE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA58DE#FFFFFF#000000##000000
##BA58DE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7DE2
Deuteranopia (green-blind)
#5886DB
Tritanopia (blue-blind)
#B86F93
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba58de;
/* rgb */ color: rgb(186, 88, 222);
/* oklch */ color: oklch(63.6% 0.209 315.9);
Tailwind
colors: {
  custom: {
    50: '#d28ce9',
    500: '#ba58de',
    950: '#000000',
  },
}
SCSS
$custom: #ba58de;
$custom-light: #d28ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba58de",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 283.881,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63561,
    "c": 0.20874,
    "h": 315.9
  },
  "luminance": 0.22692
}

Semantic roles & 50–950 ramp

primary
#BA58DE
secondary
#BDE2B0
accent
#CF1748
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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