#BA62CD#BA62CD

#BA62CD is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.9% C 0.177 H 320.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BA62CD
RGBrgb(186, 98, 205)
HSLhsl(289, 52%, 59%)
HSVhsv(289, 52%, 80%)
CMYKcmyk(9.3%, 52.2%, 0%, 19.6%)
CIE-LABlab(55.67, 51.62, -40.78)
CIE-LCHlch(55.67, 65.79, 321.69°)
OKLaboklab(63.94% 0.1361 -0.1131)
OKLCHoklch(63.94% 0.177 320.3)
XYZxyz(35.6355, 23.5837, 60.4208)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA62CD #75CD62
analogous
#8562CD #BA62CD #CD62AB
triadic
#BA62CD #CDBA62 #62CDBA
tetradic
#BA62CD #CD8562 #75CD62 #62ABCD
square
#BA62CD #CD8562 #75CD62 #62ABCD
split-complementary
#BA62CD #ABCD62 #62CD85
monochromatic
#782C89 #A13AB7 #BA62CD #CE90DC #E3BFEB

Accessibility & contrast

On white

3.67
#BA62CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#BA62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA62CD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA62CD#FFFFFF#000000##000000
##BA62CD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD1
Deuteranopia (green-blind)
#6B89CA
Tritanopia (blue-blind)
#BB718E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba62cd;
/* rgb */ color: rgb(186, 98, 205);
/* oklch */ color: oklch(63.9% 0.177 320.3);
Tailwind
colors: {
  custom: {
    50: '#d192dc',
    500: '#ba62cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba62cd;
$custom-light: #d192dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba62cd",
  "rgb": {
    "r": 186,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 289.346,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63941,
    "c": 0.17691,
    "h": 320.3
  },
  "luminance": 0.23582
}

Semantic roles & 50–950 ramp

primary
#BA62CD
secondary
#B8DAB1
accent
#DB4D66
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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