#BA59ED#BA59ED

#BA59ED is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.6% C 0.222 H 312.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA59ED
RGBrgb(186, 89, 237)
HSLhsl(279, 80%, 64%)
HSVhsv(279, 62%, 93%)
CMYKcmyk(21.5%, 62.4%, 0%, 7.1%)
CIE-LABlab(55.79, 62.46, -58.65)
CIE-LCHlch(55.79, 85.68, 316.80°)
OKLaboklab(64.58% 0.1486 -0.1651)
OKLCHoklch(64.58% 0.222 312)
XYZxyz(39.1054, 23.6993, 82.6188)
Luminance0.2370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59ED #8CED59
analogous
#7059ED #BA59ED #ED59D6
triadic
#BA59ED #EDBA59 #59EDBA
tetradic
#BA59ED #ED7059 #8CED59 #59D6ED
square
#BA59ED #ED7059 #8CED59 #59D6ED
split-complementary
#BA59ED #D6ED59 #59ED70
monochromatic
#7F14B8 #A322E7 #BA59ED #D190F3 #E8C7F9

Accessibility & contrast

On white

3.66
#BA59ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#BA59ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59ED
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59ED#FFFFFF#000000##000000
##BA59ED1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1381F2
Deuteranopia (green-blind)
#4D88EA
Tritanopia (blue-blind)
#B4759B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba59ed;
/* rgb */ color: rgb(186, 89, 237);
/* oklch */ color: oklch(64.6% 0.222 312.0);
Tailwind
colors: {
  custom: {
    50: '#d28df3',
    500: '#ba59ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba59ed;
$custom-light: #d28df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59ed",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 279.324,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64584,
    "c": 0.22213,
    "h": 312
  },
  "luminance": 0.23698
}

Semantic roles & 50–950 ramp

primary
#BA59ED
secondary
#C9EBB7
accent
#DD0952
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA59ED

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

Preview Lab → · Contrast checker → · Palette generator →

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