#BA62EF#BA62EF

#BA62EF is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.8% C 0.212 H 310.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BA62EF
RGBrgb(186, 98, 239)
HSLhsl(277, 82%, 66%)
HSVhsv(277, 59%, 94%)
CMYKcmyk(22.2%, 59%, 0%, 6.3%)
CIE-LABlab(57.47, 58.62, -57.07)
CIE-LCHlch(57.47, 81.81, 315.77°)
OKLaboklab(65.84% 0.138 -0.1605)
OKLCHoklch(65.84% 0.212 310.7)
XYZxyz(40.1945, 25.4073, 84.4313)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62EF #97EF62
analogous
#7362EF #BA62EF #EF62DD
triadic
#BA62EF #EFBA62 #62EFBA
tetradic
#BA62EF #EF7362 #97EF62 #62DDEF
square
#BA62EF #EF7362 #97EF62 #62DDEF
split-complementary
#BA62EF #DDEF62 #62EF73
monochromatic
#8114C3 #A22AE9 #BA62EF #D29AF5 #EBD1FA

Accessibility & contrast

On white

3.45
#BA62EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#BA62EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62EF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62EF#FFFFFF#000000##000000
##BA62EF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#548CEC
Tritanopia (blue-blind)
#B37C9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba62ef;
/* rgb */ color: rgb(186, 98, 239);
/* oklch */ color: oklch(65.8% 0.212 310.7);
Tailwind
colors: {
  custom: {
    50: '#d293f5',
    500: '#ba62ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba62ef;
$custom-light: #d293f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62ef",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 277.447,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65844,
    "c": 0.21166,
    "h": 310.7
  },
  "luminance": 0.25406
}

Semantic roles & 50–950 ramp

primary
#BA62EF
secondary
#D1EEBF
accent
#DE0858
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA62EF

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

Preview Lab → · Contrast checker → · Palette generator →

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