#CA76EC#CA76EC

#CA76EC is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.3% C 0.184 H 315.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CA76EC
RGBrgb(202, 118, 236)
HSLhsl(283, 76%, 69%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(14.4%, 50%, 0%, 7.5%)
CIE-LABlab(62.99, 52.03, -46.52)
CIE-LCHlch(62.99, 69.80, 318.20°)
OKLaboklab(70.26% 0.1314 -0.1294)
OKLCHoklch(70.26% 0.184 315.4)
XYZxyz(45.9735, 31.5709, 83.0126)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA76EC #98EC76
analogous
#8F76EC #CA76EC #EC76D3
triadic
#CA76EC #ECCA76 #76ECCA
tetradic
#CA76EC #EC8F76 #98EC76 #76D3EC
square
#CA76EC #EC8F76 #98EC76 #76D3EC
split-complementary
#CA76EC #D3EC76 #76EC8F
monochromatic
#991CCB #B540E5 #CA76EC #DFACF3 #F4E1FB

Accessibility & contrast

On white

2.87
#CA76EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CA76EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA76EC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA76EC#FFFFFF#000000##000000
##CA76EC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93F0
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#C888A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca76ec;
/* rgb */ color: rgb(202, 118, 236);
/* oklch */ color: oklch(70.3% 0.184 315.4);
Tailwind
colors: {
  custom: {
    50: '#dca0f2',
    500: '#ca76ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca76ec;
$custom-light: #dca0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca76ec",
  "rgb": {
    "r": 202,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 282.712,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70257,
    "c": 0.18445,
    "h": 315.4
  },
  "luminance": 0.3157
}

Semantic roles & 50–950 ramp

primary
#CA76EC
secondary
#D8F0CE
accent
#D80E48
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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