#BA61EE#BA61EE

#BA61EE is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.7% C 0.212 H 311.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#BA61EE
RGBrgb(186, 97, 238)
HSLhsl(278, 81%, 66%)
HSVhsv(278, 59%, 93%)
CMYKcmyk(21.8%, 59.2%, 0%, 6.7%)
CIE-LABlab(57.23, 58.89, -56.89)
CIE-LCHlch(57.23, 81.88, 315.99°)
OKLaboklab(65.65% 0.1392 -0.16)
OKLCHoklch(65.65% 0.212 311)
XYZxyz(39.9542, 25.1624, 83.6244)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61EE #95EE61
analogous
#7361EE #BA61EE #EE61DC
triadic
#BA61EE #EEBA61 #61EEBA
tetradic
#BA61EE #EE7361 #95EE61 #61DCEE
square
#BA61EE #EE7361 #95EE61 #61DCEE
split-complementary
#BA61EE #DCEE61 #61EE73
monochromatic
#8115C0 #A22AE8 #BA61EE #D298F4 #EAD0FA

Accessibility & contrast

On white

3.48
#BA61EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#BA61EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61EE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61EE#FFFFFF#000000##000000
##BA61EE1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F2
Deuteranopia (green-blind)
#548BEB
Tritanopia (blue-blind)
#B47B9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba61ee;
/* rgb */ color: rgb(186, 97, 238);
/* oklch */ color: oklch(65.7% 0.212 311.0);
Tailwind
colors: {
  custom: {
    50: '#d292f4',
    500: '#ba61ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba61ee;
$custom-light: #d292f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61ee",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 238
  },
  "hsl": {
    "h": 277.872,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65653,
    "c": 0.21204,
    "h": 311
  },
  "luminance": 0.25162
}

Semantic roles & 50–950 ramp

primary
#BA61EE
secondary
#CFEDBE
accent
#DD0957
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA61EE

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

Preview Lab → · Contrast checker → · Palette generator →

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