#CA79BA#CA79BA

#CA79BA is a light, vivid pink. Relative luminance 0.298; OKLCH L 68.4% C 0.130 H 334.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CA79BA
RGBrgb(202, 121, 186)
HSLhsl(312, 43%, 63%)
HSVhsv(312, 40%, 79%)
CMYKcmyk(0%, 40.1%, 7.9%, 20.8%)
CIE-LABlab(61.46, 40.98, -20.83)
CIE-LCHlch(61.46, 45.97, 333.06°)
OKLaboklab(68.42% 0.1177 -0.0561)
OKLCHoklch(68.42% 0.13 334.5)
XYZxyz(40.0572, 29.7786, 50.0828)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79BA #79CA89
analogous
#B179CA #CA79BA #CA7991
triadic
#CA79BA #BACA79 #79BACA
tetradic
#CA79BA #CAB179 #79CA89 #7991CA
square
#CA79BA #CAB179 #79CA89 #7991CA
split-complementary
#CA79BA #91CA79 #79CAB1
monochromatic
#90397F #B94DA3 #CA79BA #DBA5D1 #EDD1E7

Accessibility & contrast

On white

3.02
#CA79BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CA79BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA79BA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79BA#FFFFFF#000000##000000
##CA79BA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#798DBC
Deuteranopia (green-blind)
#8E99B8
Tritanopia (blue-blind)
#D17D91
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca79ba;
/* rgb */ color: rgb(202, 121, 186);
/* oklch */ color: oklch(68.4% 0.130 334.5);
Tailwind
colors: {
  custom: {
    50: '#dba1cf',
    500: '#ca79ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca79ba;
$custom-light: #dba1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79ba",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 311.852,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6842,
    "c": 0.13035,
    "h": 334.5
  },
  "luminance": 0.29776
}

Semantic roles & 50–950 ramp

primary
#CA79BA
secondary
#C1DEC7
accent
#B64A2F
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA79BA

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

Preview Lab → · Contrast checker → · Palette generator →

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