#BA62CF#BA62CF

#BA62CF is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.0% C 0.179 H 319.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA62CF
RGBrgb(186, 98, 207)
HSLhsl(288, 53%, 60%)
HSVhsv(288, 53%, 81%)
CMYKcmyk(10.1%, 52.7%, 0%, 18.8%)
CIE-LABlab(55.77, 52.02, -41.77)
CIE-LCHlch(55.77, 66.71, 321.24°)
OKLaboklab(64.05% 0.1363 -0.1159)
OKLCHoklch(64.05% 0.179 319.6)
XYZxyz(35.8784, 23.6809, 61.7003)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62CF #77CF62
analogous
#8362CF #BA62CF #CF62AE
triadic
#BA62CF #CFBA62 #62CFBA
tetradic
#BA62CF #CF8362 #77CF62 #62AECF
square
#BA62CF #CF8362 #77CF62 #62AECF
split-complementary
#BA62CF #AECF62 #62CF83
monochromatic
#792B8C #A239BB #BA62CF #CF91DD #E3C0EC

Accessibility & contrast

On white

3.66
#BA62CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#BA62CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62CF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62CF#FFFFFF#000000##000000
##BA62CF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D3
Deuteranopia (green-blind)
#6A89CC
Tritanopia (blue-blind)
#BB728F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba62cf;
/* rgb */ color: rgb(186, 98, 207);
/* oklch */ color: oklch(64.0% 0.179 319.6);
Tailwind
colors: {
  custom: {
    50: '#d192de',
    500: '#ba62cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba62cf;
$custom-light: #d192de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62cf",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 288.44,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64045,
    "c": 0.1789,
    "h": 319.6
  },
  "luminance": 0.23679
}

Semantic roles & 50–950 ramp

primary
#BA62CF
secondary
#B9DBB1
accent
#DD4B67
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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