#BA76DD#BA76DD

#BA76DD is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.161 H 313.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#BA76DD
RGBrgb(186, 118, 221)
HSLhsl(280, 60%, 66%)
HSVhsv(280, 47%, 87%)
CMYKcmyk(15.8%, 46.6%, 0%, 13.3%)
CIE-LABlab(60.44, 44.50, -42.30)
CIE-LCHlch(60.44, 61.40, 316.45°)
OKLaboklab(67.73% 0.1105 -0.1176)
OKLCHoklch(67.73% 0.161 313.2)
XYZxyz(39.7771, 28.6173, 71.8209)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76DD #99DD76
analogous
#8776DD #BA76DD #DD76CD
triadic
#BA76DD #DDBA76 #76DDBA
tetradic
#BA76DD #DD8776 #99DD76 #76CDDD
square
#BA76DD #DD8776 #99DD76 #76CDDD
split-complementary
#BA76DD #CDDD76 #76DD87
monochromatic
#812BAE #A145D1 #BA76DD #D3A7E9 #EBD8F5

Accessibility & contrast

On white

3.12
#BA76DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#BA76DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76DD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76DD#FFFFFF#000000##000000
##BA76DD1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#608EE1
Deuteranopia (green-blind)
#7393DA
Tritanopia (blue-blind)
#B7869F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba76dd;
/* rgb */ color: rgb(186, 118, 221);
/* oklch */ color: oklch(67.7% 0.161 313.2);
Tailwind
colors: {
  custom: {
    50: '#d19fe8',
    500: '#ba76dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba76dd;
$custom-light: #d19fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76dd",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 221
  },
  "hsl": {
    "h": 279.612,
    "s": 60.234,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67731,
    "c": 0.16138,
    "h": 313.2
  },
  "luminance": 0.28616
}

Semantic roles & 50–950 ramp

primary
#BA76DD
secondary
#D2E8C7
accent
#C81E57
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BA76DD

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

Preview Lab → · Contrast checker → · Palette generator →

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