#BA61E8#BA61E8

#BA61E8 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.206 H 312.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#BA61E8
RGBrgb(186, 97, 232)
HSLhsl(280, 75%, 65%)
HSVhsv(280, 58%, 91%)
CMYKcmyk(19.8%, 58.2%, 0%, 9%)
CIE-LABlab(56.90, 57.62, -54.08)
CIE-LCHlch(56.90, 79.02, 316.82°)
OKLaboklab(65.3% 0.1391 -0.1518)
OKLCHoklch(65.3% 0.206 312.5)
XYZxyz(39.0873, 24.8157, 79.0591)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61E8 #8FE861
analogous
#7761E8 #BA61E8 #E861D2
triadic
#BA61E8 #E8BA61 #61E8BA
tetradic
#BA61E8 #E87761 #8FE861 #61D2E8
square
#BA61E8 #E87761 #8FE861 #61D2E8
split-complementary
#BA61E8 #D2E861 #61E877
monochromatic
#801AB4 #A32CE0 #BA61E8 #D196F0 #E9CCF8

Accessibility & contrast

On white

3.52
#BA61E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#BA61E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61E8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61E8#FFFFFF#000000##000000
##BA61E81.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584EC
Deuteranopia (green-blind)
#598BE5
Tritanopia (blue-blind)
#B5799C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba61e8;
/* rgb */ color: rgb(186, 97, 232);
/* oklch */ color: oklch(65.3% 0.206 312.5);
Tailwind
colors: {
  custom: {
    50: '#d292f0',
    500: '#ba61e8',
    950: '#000000',
  },
}
SCSS
$custom: #ba61e8;
$custom-light: #d292f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61e8",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 279.556,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65298,
    "c": 0.20586,
    "h": 312.5
  },
  "luminance": 0.24815
}

Semantic roles & 50–950 ramp

primary
#BA61E8
secondary
#CBEABB
accent
#D70F53
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA61E8

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

Preview Lab → · Contrast checker → · Palette generator →

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