#BA62EA#BA62EA

#BA62EA is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.5% C 0.206 H 311.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#BA62EA
RGBrgb(186, 98, 234)
HSLhsl(279, 76%, 65%)
HSVhsv(279, 58%, 92%)
CMYKcmyk(20.5%, 58.1%, 0%, 8.2%)
CIE-LABlab(57.19, 57.55, -54.73)
CIE-LCHlch(57.19, 79.42, 316.44°)
OKLaboklab(65.55% 0.1379 -0.1537)
OKLCHoklch(65.55% 0.206 311.9)
XYZxyz(39.4660, 25.1159, 80.5948)
Luminance0.2511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62EA #92EA62
analogous
#7662EA #BA62EA #EA62D6
triadic
#BA62EA #EABA62 #62EABA
tetradic
#BA62EA #EA7662 #92EA62 #62D6EA
square
#BA62EA #EA7662 #92EA62 #62D6EA
split-complementary
#BA62EA #D6EA62 #62EA76
monochromatic
#8019B9 #A22CE3 #BA62EA #D298F1 #E9CEF8

Accessibility & contrast

On white

3.49
#BA62EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#BA62EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62EA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62EA#FFFFFF#000000##000000
##BA62EA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#B57B9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba62ea;
/* rgb */ color: rgb(186, 98, 234);
/* oklch */ color: oklch(65.5% 0.206 311.9);
Tailwind
colors: {
  custom: {
    50: '#d293f1',
    500: '#ba62ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba62ea;
$custom-light: #d293f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62ea",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 278.824,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65548,
    "c": 0.20647,
    "h": 311.9
  },
  "luminance": 0.25115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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