#CA76F2#CA76F2

#CA76F2 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.6% C 0.191 H 313.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CA76F2
RGBrgb(202, 118, 242)
HSLhsl(281, 83%, 71%)
HSVhsv(281, 51%, 95%)
CMYKcmyk(16.5%, 51.2%, 0%, 5.1%)
CIE-LABlab(63.28, 53.27, -49.38)
CIE-LCHlch(63.28, 72.63, 317.17°)
OKLaboklab(70.57% 0.132 -0.1377)
OKLCHoklch(70.57% 0.191 313.8)
XYZxyz(46.8599, 31.9254, 87.6809)
Luminance0.3192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA76F2 #9EF276
analogous
#8C76F2 #CA76F2 #F276DC
triadic
#CA76F2 #F2CA76 #76F2CA
tetradic
#CA76F2 #F28C76 #9EF276 #76DCF2
square
#CA76F2 #F28C76 #9EF276 #76DCF2
split-complementary
#CA76F2 #DCF276 #76F28C
monochromatic
#9A15D9 #B43EED #CA76F2 #E0AEF7 #F4E3FC

Accessibility & contrast

On white

2.84
#CA76F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CA76F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA76F2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA76F2#FFFFFF#000000##000000
##CA76F21.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#739BEF
Tritanopia (blue-blind)
#C78AA9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca76f2;
/* rgb */ color: rgb(202, 118, 242);
/* oklch */ color: oklch(70.6% 0.191 313.8);
Tailwind
colors: {
  custom: {
    50: '#dca0f7',
    500: '#ca76f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca76f2;
$custom-light: #dca0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca76f2",
  "rgb": {
    "r": 202,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 280.645,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70571,
    "c": 0.19079,
    "h": 313.8
  },
  "luminance": 0.31924
}

Semantic roles & 50–950 ramp

primary
#CA76F2
secondary
#DCF3D1
accent
#DF064C
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA76F2

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

Preview Lab → · Contrast checker → · Palette generator →

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