#CA76DC#CA76DC

#CA76DC is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.5% C 0.168 H 320.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CA76DC
RGBrgb(202, 118, 220)
HSLhsl(289, 59%, 66%)
HSVhsv(289, 46%, 86%)
CMYKcmyk(8.2%, 46.4%, 0%, 13.7%)
CIE-LABlab(62.24, 48.83, -38.79)
CIE-LCHlch(62.24, 62.36, 321.53°)
OKLaboklab(69.46% 0.1293 -0.1071)
OKLCHoklch(69.46% 0.168 320.4)
XYZxyz(43.7522, 30.6824, 71.3139)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA76DC #88DC76
analogous
#9776DC #CA76DC #DC76BB
triadic
#CA76DC #DCCA76 #76DCCA
tetradic
#CA76DC #DC9776 #88DC76 #76BBDC
square
#CA76DC #DC9776 #88DC76 #76BBDC
split-complementary
#CA76DC #BBDC76 #76DC97
monochromatic
#952CAC #B745D0 #CA76DC #DDA7E8 #F0D7F5

Accessibility & contrast

On white

2.94
#CA76DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CA76DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA76DC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA76DC#FFFFFF#000000##000000
##CA76DC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E0
Deuteranopia (green-blind)
#7E9AD9
Tritanopia (blue-blind)
#CB839F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca76dc;
/* rgb */ color: rgb(202, 118, 220);
/* oklch */ color: oklch(69.5% 0.168 320.4);
Tailwind
colors: {
  custom: {
    50: '#dca0e7',
    500: '#ca76dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca76dc;
$custom-light: #dca0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca76dc",
  "rgb": {
    "r": 202,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 289.412,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69458,
    "c": 0.16786,
    "h": 320.4
  },
  "luminance": 0.30681
}

Semantic roles & 50–950 ramp

primary
#CA76DC
secondary
#CCE8C6
accent
#C71F3C
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA76DC

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

Preview Lab → · Contrast checker → · Palette generator →

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