#BA62CA#BA62CA

#BA62CA is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.8% C 0.174 H 321.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#BA62CA
RGBrgb(186, 98, 202)
HSLhsl(291, 50%, 59%)
HSVhsv(291, 51%, 79%)
CMYKcmyk(7.9%, 51.5%, 0%, 20.8%)
CIE-LABlab(55.52, 51.04, -39.30)
CIE-LCHlch(55.52, 64.42, 322.40°)
OKLaboklab(63.79% 0.1357 -0.1088)
OKLCHoklch(63.79% 0.174 321.3)
XYZxyz(35.2768, 23.4403, 58.5319)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62CA #72CA62
analogous
#8662CA #BA62CA #CA62A6
triadic
#BA62CA #CABA62 #62CABA
tetradic
#BA62CA #CA8662 #72CA62 #62A6CA
square
#BA62CA #CA8662 #72CA62 #62A6CA
split-complementary
#BA62CA #A6CA62 #62CA86
monochromatic
#772D85 #A03CB3 #BA62CA #CE90D9 #E2BEE9

Accessibility & contrast

On white

3.69
#BA62CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#BA62CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62CA#FFFFFF#000000##000000
##BA62CA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCD
Deuteranopia (green-blind)
#6C88C7
Tritanopia (blue-blind)
#BC708D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba62ca;
/* rgb */ color: rgb(186, 98, 202);
/* oklch */ color: oklch(63.8% 0.174 321.3);
Tailwind
colors: {
  custom: {
    50: '#d192da',
    500: '#ba62ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba62ca;
$custom-light: #d192da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62ca",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 290.769,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63786,
    "c": 0.17393,
    "h": 321.3
  },
  "luminance": 0.23439
}

Semantic roles & 50–950 ramp

primary
#BA62CA
secondary
#B6D8AF
accent
#D94F64
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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