#BA76D2#BA76D2

#BA76D2 is a light, vivid purple. Relative luminance 0.280; OKLCH L 67.2% C 0.149 H 316.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#BA76D2
RGBrgb(186, 118, 210)
HSLhsl(284, 51%, 64%)
HSVhsv(284, 44%, 82%)
CMYKcmyk(11.4%, 43.8%, 0%, 17.6%)
CIE-LABlab(59.93, 42.20, -36.92)
CIE-LCHlch(59.93, 56.07, 318.82°)
OKLaboklab(67.18% 0.1088 -0.102)
OKLCHoklch(67.18% 0.149 316.8)
XYZxyz(38.3593, 28.0502, 64.3538)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76D2 #8ED276
analogous
#8C76D2 #BA76D2 #D276BC
triadic
#BA76D2 #D2BA76 #76D2BA
tetradic
#BA76D2 #D28C76 #8ED276 #76BCD2
square
#BA76D2 #D28C76 #8ED276 #76BCD2
split-complementary
#BA76D2 #BCD276 #76D28C
monochromatic
#80339B #A348C3 #BA76D2 #D1A4E1 #E8D2F0

Accessibility & contrast

On white

3.18
#BA76D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#BA76D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76D2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76D2#FFFFFF#000000##000000
##BA76D21.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#668CD5
Deuteranopia (green-blind)
#7893CF
Tritanopia (blue-blind)
#B9839A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba76d2;
/* rgb */ color: rgb(186, 118, 210);
/* oklch */ color: oklch(67.2% 0.149 316.8);
Tailwind
colors: {
  custom: {
    50: '#d09fe0',
    500: '#ba76d2',
    950: '#000000',
  },
}
SCSS
$custom: #ba76d2;
$custom-light: #d09fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76d2",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 210
  },
  "hsl": {
    "h": 284.348,
    "s": 50.549,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67185,
    "c": 0.14916,
    "h": 316.8
  },
  "luminance": 0.28049
}

Semantic roles & 50–950 ramp

primary
#BA76D2
secondary
#CAE2C2
accent
#BE284F
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA76D2

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

Preview Lab → · Contrast checker → · Palette generator →

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