#BA61EA#BA61EA

#BA61EA is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.4% C 0.208 H 312.0°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#BA61EA
RGBrgb(186, 97, 234)
HSLhsl(279, 77%, 65%)
HSVhsv(279, 59%, 92%)
CMYKcmyk(20.5%, 58.5%, 0%, 8.2%)
CIE-LABlab(57.01, 58.04, -55.02)
CIE-LCHlch(57.01, 79.97, 316.53°)
OKLaboklab(65.42% 0.1391 -0.1545)
OKLCHoklch(65.42% 0.208 312)
XYZxyz(39.3730, 24.9300, 80.5638)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61EA #91EA61
analogous
#7661EA #BA61EA #EA61D6
triadic
#BA61EA #EABA61 #61EABA
tetradic
#BA61EA #EA7661 #91EA61 #61D6EA
square
#BA61EA #EA7661 #91EA61 #61D6EA
split-complementary
#BA61EA #D6EA61 #61EA76
monochromatic
#8018B8 #A22BE3 #BA61EA #D297F1 #E9CDF8

Accessibility & contrast

On white

3.51
#BA61EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#BA61EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61EA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61EA#FFFFFF#000000##000000
##BA61EA1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284EE
Deuteranopia (green-blind)
#578BE7
Tritanopia (blue-blind)
#B57A9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba61ea;
/* rgb */ color: rgb(186, 97, 234);
/* oklch */ color: oklch(65.4% 0.208 312.0);
Tailwind
colors: {
  custom: {
    50: '#d292f1',
    500: '#ba61ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba61ea;
$custom-light: #d292f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61ea",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 278.978,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65416,
    "c": 0.20792,
    "h": 312
  },
  "luminance": 0.24929
}

Semantic roles & 50–950 ramp

primary
#BA61EA
secondary
#CCEBBC
accent
#D90D54
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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