#BA61EB#BA61EB

#BA61EB is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.5% C 0.209 H 311.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA61EB
RGBrgb(186, 97, 235)
HSLhsl(279, 78%, 65%)
HSVhsv(279, 59%, 92%)
CMYKcmyk(20.9%, 58.7%, 0%, 7.8%)
CIE-LABlab(57.06, 58.25, -55.49)
CIE-LCHlch(57.06, 80.45, 316.39°)
OKLaboklab(65.48% 0.1391 -0.1559)
OKLCHoklch(65.48% 0.209 311.8)
XYZxyz(39.5171, 24.9876, 81.3225)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61EB #92EB61
analogous
#7561EB #BA61EB #EB61D7
triadic
#BA61EB #EBBA61 #61EBBA
tetradic
#BA61EB #EB7561 #92EB61 #61D7EB
square
#BA61EB #EB7561 #92EB61 #61D7EB
split-complementary
#BA61EB #D7EB61 #61EB75
monochromatic
#8018BA #A22BE4 #BA61EB #D297F2 #E9CEF9

Accessibility & contrast

On white

3.50
#BA61EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#BA61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61EB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61EB#FFFFFF#000000##000000
##BA61EB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EF
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#B47A9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba61eb;
/* rgb */ color: rgb(186, 97, 235);
/* oklch */ color: oklch(65.5% 0.209 311.8);
Tailwind
colors: {
  custom: {
    50: '#d292f2',
    500: '#ba61eb',
    950: '#000000',
  },
}
SCSS
$custom: #ba61eb;
$custom-light: #d292f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61eb",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 278.696,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65475,
    "c": 0.20895,
    "h": 311.8
  },
  "luminance": 0.24987
}

Semantic roles & 50–950 ramp

primary
#BA61EB
secondary
#CDEBBD
accent
#DA0C55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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