#BA62EE#BA62EE

#BA62EE is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.8% C 0.211 H 310.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#BA62EE
RGBrgb(186, 98, 238)
HSLhsl(278, 80%, 66%)
HSVhsv(278, 59%, 93%)
CMYKcmyk(21.8%, 58.8%, 0%, 6.7%)
CIE-LABlab(57.41, 58.40, -56.60)
CIE-LCHlch(57.41, 81.33, 315.90°)
OKLaboklab(65.78% 0.138 -0.1592)
OKLCHoklch(65.78% 0.211 310.9)
XYZxyz(40.0471, 25.3484, 83.6554)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62EE #96EE62
analogous
#7462EE #BA62EE #EE62DC
triadic
#BA62EE #EEBA62 #62EEBA
tetradic
#BA62EE #EE7462 #96EE62 #62DCEE
square
#BA62EE #EE7462 #96EE62 #62DCEE
split-complementary
#BA62EE #DCEE62 #62EE74
monochromatic
#8115C1 #A22BE8 #BA62EE #D299F4 #EBD0FA

Accessibility & contrast

On white

3.46
#BA62EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#BA62EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62EE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62EE#FFFFFF#000000##000000
##BA62EE1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F2
Deuteranopia (green-blind)
#558BEB
Tritanopia (blue-blind)
#B47C9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba62ee;
/* rgb */ color: rgb(186, 98, 238);
/* oklch */ color: oklch(65.8% 0.211 310.9);
Tailwind
colors: {
  custom: {
    50: '#d293f4',
    500: '#ba62ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba62ee;
$custom-light: #d293f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62ee",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 277.714,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65784,
    "c": 0.21062,
    "h": 310.9
  },
  "luminance": 0.25348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA62EE

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

Preview Lab → · Contrast checker → · Palette generator →

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