#CA79E7#CA79E7

#CA79E7 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.174 H 316.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CA79E7
RGBrgb(202, 121, 231)
HSLhsl(284, 70%, 69%)
HSVhsv(284, 48%, 91%)
CMYKcmyk(12.6%, 47.6%, 0%, 9.4%)
CIE-LABlab(63.34, 49.47, -43.19)
CIE-LCHlch(63.34, 65.67, 318.88°)
OKLaboklab(70.45% 0.1267 -0.1198)
OKLCHoklch(70.45% 0.174 316.6)
XYZxyz(45.6162, 32.0022, 79.3599)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79E7 #96E779
analogous
#9379E7 #CA79E7 #E779CD
triadic
#CA79E7 #E7CA79 #79E7CA
tetradic
#CA79E7 #E79379 #96E779 #79CDE7
square
#CA79E7 #E79379 #96E779 #79CDE7
split-complementary
#CA79E7 #CDE779 #79E793
monochromatic
#9923C3 #B545DE #CA79E7 #DFADF0 #F3E1FA

Accessibility & contrast

On white

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

On black

7.40
#CA79E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79E7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79E7#FFFFFF#000000##000000
##CA79E71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EB
Deuteranopia (green-blind)
#7B9CE4
Tritanopia (blue-blind)
#C989A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca79e7;
/* rgb */ color: rgb(202, 121, 231);
/* oklch */ color: oklch(70.4% 0.174 316.6);
Tailwind
colors: {
  custom: {
    50: '#dca2ef',
    500: '#ca79e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca79e7;
$custom-light: #dca2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79e7",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 231
  },
  "hsl": {
    "h": 284.182,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70445,
    "c": 0.17438,
    "h": 316.6
  },
  "luminance": 0.32001
}

Semantic roles & 50–950 ramp

primary
#CA79E7
secondary
#D6EECE
accent
#D21446
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA79E7

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

Preview Lab → · Contrast checker → · Palette generator →

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