#BA61E9#BA61E9

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

Color values

HEX#BA61E9
RGBrgb(186, 97, 233)
HSLhsl(279, 76%, 65%)
HSVhsv(279, 58%, 91%)
CMYKcmyk(20.2%, 58.4%, 0%, 8.6%)
CIE-LABlab(56.95, 57.83, -54.55)
CIE-LCHlch(56.95, 79.50, 316.67°)
OKLaboklab(65.36% 0.1391 -0.1531)
OKLCHoklch(65.36% 0.207 312.3)
XYZxyz(39.2298, 24.8727, 79.8093)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61E9 #90E961
analogous
#7661E9 #BA61E9 #E961D4
triadic
#BA61E9 #E9BA61 #61E9BA
tetradic
#BA61E9 #E97661 #90E961 #61D4E9
square
#BA61E9 #E97661 #90E961 #61D4E9
split-complementary
#BA61E9 #D4E961 #61E976
monochromatic
#8019B6 #A32BE2 #BA61E9 #D197F0 #E9CCF8

Accessibility & contrast

On white

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

On black

5.97
#BA61E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61E9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61E9#FFFFFF#000000##000000
##BA61E91.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384ED
Deuteranopia (green-blind)
#588BE6
Tritanopia (blue-blind)
#B57A9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba61e9;
/* rgb */ color: rgb(186, 97, 233);
/* oklch */ color: oklch(65.4% 0.207 312.3);
Tailwind
colors: {
  custom: {
    50: '#d292f1',
    500: '#ba61e9',
    950: '#000000',
  },
}
SCSS
$custom: #ba61e9;
$custom-light: #d292f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61e9",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 233
  },
  "hsl": {
    "h": 279.265,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65357,
    "c": 0.20689,
    "h": 312.3
  },
  "luminance": 0.24872
}

Semantic roles & 50–950 ramp

primary
#BA61E9
secondary
#CCEABC
accent
#D80E54
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA61E9

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

Preview Lab → · Contrast checker → · Palette generator →

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