#BA76CC#BA76CC

#BA76CC is a light, vivid purple. Relative luminance 0.278; OKLCH L 66.9% C 0.143 H 319.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#BA76CC
RGBrgb(186, 118, 204)
HSLhsl(287, 46%, 63%)
HSVhsv(287, 42%, 80%)
CMYKcmyk(8.8%, 42.2%, 0%, 20%)
CIE-LABlab(59.67, 40.97, -33.95)
CIE-LCHlch(59.67, 53.21, 320.35°)
OKLaboklab(66.9% 0.1077 -0.0935)
OKLCHoklch(66.9% 0.143 319)
XYZxyz(37.6258, 27.7568, 60.4906)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76CC #88CC76
analogous
#8F76CC #BA76CC #CC76B3
triadic
#BA76CC #CCBA76 #76CCBA
tetradic
#BA76CC #CC8F76 #88CC76 #76B3CC
square
#BA76CC #CC8F76 #88CC76 #76B3CC
split-complementary
#BA76CC #B3CC76 #76CC8F
monochromatic
#7E3691 #A449BB #BA76CC #D0A3DD #E7CFED

Accessibility & contrast

On white

3.21
#BA76CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#BA76CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76CC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76CC#FFFFFF#000000##000000
##BA76CC1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#BB8197
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba76cc;
/* rgb */ color: rgb(186, 118, 204);
/* oklch */ color: oklch(66.9% 0.143 319.0);
Tailwind
colors: {
  custom: {
    50: '#d09fdc',
    500: '#ba76cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba76cc;
$custom-light: #d09fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76cc",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 287.442,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66899,
    "c": 0.14263,
    "h": 319
  },
  "luminance": 0.27756
}

Semantic roles & 50–950 ramp

primary
#BA76CC
secondary
#C6DEBF
accent
#B92D4A
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA76CC

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

Preview Lab → · Contrast checker → · Palette generator →

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