#CA79D2#CA79D2

#CA79D2 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.4% C 0.153 H 323.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CA79D2
RGBrgb(202, 121, 210)
HSLhsl(295, 50%, 65%)
HSVhsv(295, 42%, 82%)
CMYKcmyk(3.8%, 42.4%, 0%, 17.6%)
CIE-LABlab(62.41, 45.34, -32.92)
CIE-LCHlch(62.41, 56.03, 324.02°)
OKLaboklab(69.44% 0.1232 -0.0903)
OKLCHoklch(69.44% 0.153 323.8)
XYZxyz(42.8262, 30.8862, 64.6660)
Luminance0.3088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79D2 #81D279
analogous
#9E79D2 #CA79D2 #D279AD
triadic
#CA79D2 #D2CA79 #79D2CA
tetradic
#CA79D2 #D29E79 #81D279 #79ADD2
square
#CA79D2 #D29E79 #81D279 #79ADD2
split-complementary
#CA79D2 #ADD279 #79D29E
monochromatic
#93349C #B84BC3 #CA79D2 #DCA7E1 #EED5F1

Accessibility & contrast

On white

2.93
#CA79D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CA79D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79D2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79D2#FFFFFF#000000##000000
##CA79D21.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F91D5
Deuteranopia (green-blind)
#859ACF
Tritanopia (blue-blind)
#CD839C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca79d2;
/* rgb */ color: rgb(202, 121, 210);
/* oklch */ color: oklch(69.4% 0.153 323.8);
Tailwind
colors: {
  custom: {
    50: '#dca2e0',
    500: '#ca79d2',
    950: '#000000',
  },
}
SCSS
$custom: #ca79d2;
$custom-light: #dca2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79d2",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 294.607,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69444,
    "c": 0.15275,
    "h": 323.8
  },
  "luminance": 0.30884
}

Semantic roles & 50–950 ramp

primary
#CA79D2
secondary
#C7E3C4
accent
#BD2836
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA79D2

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

Preview Lab → · Contrast checker → · Palette generator →

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