#BA62ED#BA62ED

#BA62ED is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.7% C 0.210 H 311.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA62ED
RGBrgb(186, 98, 237)
HSLhsl(278, 79%, 66%)
HSVhsv(278, 59%, 93%)
CMYKcmyk(21.5%, 58.6%, 0%, 7.1%)
CIE-LABlab(57.36, 58.19, -56.14)
CIE-LCHlch(57.36, 80.85, 316.03°)
OKLaboklab(65.72% 0.1379 -0.1578)
OKLCHoklch(65.72% 0.21 311.2)
XYZxyz(39.9006, 25.2898, 82.8838)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62ED #95ED62
analogous
#7462ED #BA62ED #ED62DA
triadic
#BA62ED #EDBA62 #62EDBA
tetradic
#BA62ED #ED7462 #95ED62 #62DAED
square
#BA62ED #ED7462 #95ED62 #62DAED
split-complementary
#BA62ED #DAED62 #62ED74
monochromatic
#8116BF #A22BE7 #BA62ED #D299F3 #EAD0FA

Accessibility & contrast

On white

3.47
#BA62ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#BA62ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62ED
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62ED#FFFFFF#000000##000000
##BA62ED1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F1
Deuteranopia (green-blind)
#568BEA
Tritanopia (blue-blind)
#B47C9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba62ed;
/* rgb */ color: rgb(186, 98, 237);
/* oklch */ color: oklch(65.7% 0.210 311.2);
Tailwind
colors: {
  custom: {
    50: '#d293f3',
    500: '#ba62ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba62ed;
$custom-light: #d293f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62ed",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 277.986,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65725,
    "c": 0.20958,
    "h": 311.2
  },
  "luminance": 0.25289
}

Semantic roles & 50–950 ramp

primary
#BA62ED
secondary
#CFEDBE
accent
#DC0A57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA62ED

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

Preview Lab → · Contrast checker → · Palette generator →

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