#CA79C2#CA79C2

#CA79C2 is a light, vivid purple. Relative luminance 0.301; OKLCH L 68.7% C 0.137 H 330.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CA79C2
RGBrgb(202, 121, 194)
HSLhsl(306, 43%, 63%)
HSVhsv(306, 40%, 79%)
CMYKcmyk(0%, 40.1%, 4%, 20.8%)
CIE-LABlab(61.76, 42.39, -24.90)
CIE-LCHlch(61.76, 49.16, 329.57°)
OKLaboklab(68.75% 0.1197 -0.0675)
OKLCHoklch(68.75% 0.137 330.6)
XYZxyz(40.9316, 30.1284, 54.6878)
Luminance0.3013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79C2 #79CA81
analogous
#A979CA #CA79C2 #CA7999
triadic
#CA79C2 #C2CA79 #79C2CA
tetradic
#CA79C2 #CAA979 #79CA81 #7999CA
square
#CA79C2 #CAA979 #79CA81 #7999CA
split-complementary
#CA79C2 #99CA79 #79CAA9
monochromatic
#903987 #B94DAE #CA79C2 #DBA5D6 #EDD1EA

Accessibility & contrast

On white

2.99
#CA79C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CA79C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79C2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79C2#FFFFFF#000000##000000
##CA79C21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC5
Deuteranopia (green-blind)
#8B99BF
Tritanopia (blue-blind)
#D07F95
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca79c2;
/* rgb */ color: rgb(202, 121, 194);
/* oklch */ color: oklch(68.7% 0.137 330.6);
Tailwind
colors: {
  custom: {
    50: '#dba1d4',
    500: '#ca79c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca79c2;
$custom-light: #dba1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79c2",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 194
  },
  "hsl": {
    "h": 305.926,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68747,
    "c": 0.13744,
    "h": 330.6
  },
  "luminance": 0.30126
}

Semantic roles & 50–950 ramp

primary
#CA79C2
secondary
#C1DEC4
accent
#B63C2F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CA79C2

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

Preview Lab → · Contrast checker → · Palette generator →

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