#CA79CB#CA79CB

#CA79CB is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.1% C 0.146 H 326.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CA79CB
RGBrgb(202, 121, 203)
HSLhsl(299, 44%, 64%)
HSVhsv(299, 40%, 80%)
CMYKcmyk(0.5%, 40.4%, 0%, 20.4%)
CIE-LABlab(62.12, 44.03, -29.43)
CIE-LCHlch(62.12, 52.96, 326.24°)
OKLaboklab(69.13% 0.1218 -0.0803)
OKLCHoklch(69.13% 0.146 326.6)
XYZxyz(41.9731, 30.5450, 60.1732)
Luminance0.3054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79CB #7ACB79
analogous
#A179CB #CA79CB #CB79A3
triadic
#CA79CB #CBCA79 #79CBCA
tetradic
#CA79CB #CBA179 #7ACB79 #79A3CB
square
#CA79CB #CBA179 #7ACB79 #79A3CB
split-complementary
#CA79CB #A3CB79 #79CBA1
monochromatic
#903891 #B94DBA #CA79CB #DBA5DC #EDD1ED

Accessibility & contrast

On white

2.95
#CA79CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CA79CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79CB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79CB#FFFFFF#000000##000000
##CA79CB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290CE
Deuteranopia (green-blind)
#889AC8
Tritanopia (blue-blind)
#CE8199
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ca79cb;
/* rgb */ color: rgb(202, 121, 203);
/* oklch */ color: oklch(69.1% 0.146 326.6);
Tailwind
colors: {
  custom: {
    50: '#dba2db',
    500: '#ca79cb',
    950: '#000000',
  },
}
SCSS
$custom: #ca79cb;
$custom-light: #dba2db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79cb",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 299.268,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69132,
    "c": 0.14589,
    "h": 326.6
  },
  "luminance": 0.30543
}

Semantic roles & 50–950 ramp

primary
#CA79CB
secondary
#C2DEC1
accent
#B72E30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA79CB

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

Preview Lab → · Contrast checker → · Palette generator →

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