#BA62CC#BA62CC

#BA62CC is a light, vivid purple. Relative luminance 0.235; OKLCH L 63.9% C 0.176 H 320.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#BA62CC
RGBrgb(186, 98, 204)
HSLhsl(290, 51%, 59%)
HSVhsv(290, 52%, 80%)
CMYKcmyk(8.8%, 52%, 0%, 20%)
CIE-LABlab(55.62, 51.43, -40.29)
CIE-LCHlch(55.62, 65.33, 321.92°)
OKLaboklab(63.89% 0.1359 -0.1116)
OKLCHoklch(63.89% 0.176 320.6)
XYZxyz(35.5152, 23.5356, 59.7871)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62CC #74CC62
analogous
#8562CC #BA62CC #CC62A9
triadic
#BA62CC #CCBA62 #62CCBA
tetradic
#BA62CC #CC8562 #74CC62 #62A9CC
square
#BA62CC #CC8562 #74CC62 #62A9CC
split-complementary
#BA62CC #A9CC62 #62CC85
monochromatic
#782C88 #A13BB6 #BA62CC #CE90DB #E3BEEA

Accessibility & contrast

On white

3.68
#BA62CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#BA62CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62CC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62CC#FFFFFF#000000##000000
##BA62CC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FD0
Deuteranopia (green-blind)
#6B89C9
Tritanopia (blue-blind)
#BB718E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba62cc;
/* rgb */ color: rgb(186, 98, 204);
/* oklch */ color: oklch(63.9% 0.176 320.6);
Tailwind
colors: {
  custom: {
    50: '#d192dc',
    500: '#ba62cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba62cc;
$custom-light: #d192dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62cc",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 289.811,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63889,
    "c": 0.17591,
    "h": 320.6
  },
  "luminance": 0.23534
}

Semantic roles & 50–950 ramp

primary
#BA62CC
secondary
#B7DAB0
accent
#DA4D65
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA62CC

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

Preview Lab → · Contrast checker → · Palette generator →

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