#CA79EA#CA79EA

#CA79EA is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.178 H 315.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CA79EA
RGBrgb(202, 121, 234)
HSLhsl(283, 73%, 70%)
HSVhsv(283, 48%, 92%)
CMYKcmyk(13.7%, 48.3%, 0%, 8.2%)
CIE-LABlab(63.49, 50.08, -44.63)
CIE-LCHlch(63.49, 67.08, 318.29°)
OKLaboklab(70.6% 0.1271 -0.124)
OKLCHoklch(70.6% 0.178 315.7)
XYZxyz(46.0435, 32.1731, 81.6105)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79EA #99EA79
analogous
#9279EA #CA79EA #EA79D1
triadic
#CA79EA #EACA79 #79EACA
tetradic
#CA79EA #EA9279 #99EA79 #79D1EA
square
#CA79EA #EA9279 #99EA79 #79D1EA
split-complementary
#CA79EA #D1EA79 #79EA92
monochromatic
#9920C9 #B544E2 #CA79EA #DFAEF2 #F4E3FB

Accessibility & contrast

On white

2.82
#CA79EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CA79EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79EA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79EA#FFFFFF#000000##000000
##CA79EA1.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#C88AA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca79ea;
/* rgb */ color: rgb(202, 121, 234);
/* oklch */ color: oklch(70.6% 0.178 315.7);
Tailwind
colors: {
  custom: {
    50: '#dca2f1',
    500: '#ca79ea',
    950: '#000000',
  },
}
SCSS
$custom: #ca79ea;
$custom-light: #dca2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79ea",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 283.009,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70596,
    "c": 0.17755,
    "h": 315.7
  },
  "luminance": 0.32172
}

Semantic roles & 50–950 ramp

primary
#CA79EA
secondary
#D8F0CF
accent
#D51148
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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