#BA59EE#BA59EE

#BA59EE is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.6% C 0.223 H 311.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#BA59EE
RGBrgb(186, 89, 238)
HSLhsl(279, 81%, 64%)
HSVhsv(279, 63%, 93%)
CMYKcmyk(21.8%, 62.6%, 0%, 6.7%)
CIE-LABlab(55.84, 62.67, -59.11)
CIE-LCHlch(55.84, 86.15, 316.67°)
OKLaboklab(64.65% 0.1486 -0.1665)
OKLCHoklch(64.65% 0.223 311.7)
XYZxyz(39.2519, 23.7579, 83.3903)
Luminance0.2376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59EE #8DEE59
analogous
#7059EE #BA59EE #EE59D8
triadic
#BA59EE #EEBA59 #59EEBA
tetradic
#BA59EE #EE7059 #8DEE59 #59D8EE
square
#BA59EE #EE7059 #8DEE59 #59D8EE
split-complementary
#BA59EE #D8EE59 #59EE70
monochromatic
#7F13BA #A321E8 #BA59EE #D191F4 #E8C8F9

Accessibility & contrast

On white

3.65
#BA59EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#BA59EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59EE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59EE#FFFFFF#000000##000000
##BA59EE1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F81F3
Deuteranopia (green-blind)
#4C88EB
Tritanopia (blue-blind)
#B4769C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba59ee;
/* rgb */ color: rgb(186, 89, 238);
/* oklch */ color: oklch(64.6% 0.223 311.7);
Tailwind
colors: {
  custom: {
    50: '#d38df4',
    500: '#ba59ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba59ee;
$custom-light: #d38df4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59ee",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 279.06,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64646,
    "c": 0.22312,
    "h": 311.7
  },
  "luminance": 0.23757
}

Semantic roles & 50–950 ramp

primary
#BA59EE
secondary
#CAEBB7
accent
#DE0852
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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