#CA76FC#CA76FC

#CA76FC is a light, highly saturated violet. Relative luminance 0.325; OKLCH L 71.1% C 0.201 H 311.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CA76FC
RGBrgb(202, 118, 252)
HSLhsl(278, 96%, 73%)
HSVhsv(278, 53%, 99%)
CMYKcmyk(19.8%, 53.2%, 0%, 1.2%)
CIE-LABlab(63.79, 55.37, -54.08)
CIE-LCHlch(63.79, 77.40, 315.67°)
OKLaboklab(71.11% 0.1328 -0.1514)
OKLCHoklch(71.11% 0.201 311.3)
XYZxyz(48.4031, 32.5427, 95.8081)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA76FC #A8FC76
analogous
#8776FC #CA76FC #FC76EB
triadic
#CA76FC #FCCA76 #76FCCA
tetradic
#CA76FC #FC8776 #A8FC76 #76EBFC
square
#CA76FC #FC8776 #A8FC76 #76EBFC
split-complementary
#CA76FC #EBFC76 #76FC87
monochromatic
#9A05F2 #B33AFB #CA76FC #E1B2FD #F3E1FE

Accessibility & contrast

On white

2.80
#CA76FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CA76FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA76FC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA76FC#FFFFFF#000000##000000
##CA76FC1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#6C9CF9
Tritanopia (blue-blind)
#C48DAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca76fc;
/* rgb */ color: rgb(202, 118, 252);
/* oklch */ color: oklch(71.1% 0.201 311.3);
Tailwind
colors: {
  custom: {
    50: '#dda0fe',
    500: '#ca76fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca76fc;
$custom-light: #dda0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca76fc",
  "rgb": {
    "r": 202,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 277.612,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7111,
    "c": 0.20143,
    "h": 311.3
  },
  "luminance": 0.32542
}

Semantic roles & 50–950 ramp

primary
#CA76FC
secondary
#E1F7D4
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CA76FC

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

Preview Lab → · Contrast checker → · Palette generator →

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