#CA79E6#CA79E6

#CA79E6 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.4% C 0.173 H 316.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CA79E6
RGBrgb(202, 121, 230)
HSLhsl(285, 69%, 69%)
HSVhsv(285, 47%, 90%)
CMYKcmyk(12.2%, 47.4%, 0%, 9.8%)
CIE-LABlab(63.30, 49.26, -42.70)
CIE-LCHlch(63.30, 65.20, 319.08°)
OKLaboklab(70.4% 0.1266 -0.1184)
OKLCHoklch(70.4% 0.173 316.9)
XYZxyz(45.4753, 31.9459, 78.6182)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79E6 #95E679
analogous
#9479E6 #CA79E6 #E679CC
triadic
#CA79E6 #E6CA79 #79E6CA
tetradic
#CA79E6 #E69479 #95E679 #79CCE6
square
#CA79E6 #E69479 #95E679 #79CCE6
split-complementary
#CA79E6 #CCE679 #79E694
monochromatic
#9824C1 #B645DC #CA79E6 #DEADF0 #F3E0F9

Accessibility & contrast

On white

2.84
#CA79E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CA79E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79E6
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79E6#FFFFFF#000000##000000
##CA79E61.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6594EA
Deuteranopia (green-blind)
#7C9CE3
Tritanopia (blue-blind)
#C989A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca79e6;
/* rgb */ color: rgb(202, 121, 230);
/* oklch */ color: oklch(70.4% 0.173 316.9);
Tailwind
colors: {
  custom: {
    50: '#dca2ee',
    500: '#ca79e6',
    950: '#000000',
  },
}
SCSS
$custom: #ca79e6;
$custom-light: #dca2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79e6",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 230
  },
  "hsl": {
    "h": 284.587,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70395,
    "c": 0.17332,
    "h": 316.9
  },
  "luminance": 0.31944
}

Semantic roles & 50–950 ramp

primary
#CA79E6
secondary
#D6EECD
accent
#D01545
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA79E6

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

Preview Lab → · Contrast checker → · Palette generator →

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