#CA79EC#CA79EC

#CA79EC is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.7% C 0.180 H 315.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CA79EC
RGBrgb(202, 121, 236)
HSLhsl(282, 75%, 70%)
HSVhsv(282, 49%, 93%)
CMYKcmyk(14.4%, 48.7%, 0%, 7.5%)
CIE-LABlab(63.58, 50.49, -45.59)
CIE-LCHlch(63.58, 68.02, 317.92°)
OKLaboklab(70.7% 0.1274 -0.1267)
OKLCHoklch(70.7% 0.18 315.1)
XYZxyz(46.3324, 32.2887, 83.1323)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79EC #9BEC79
analogous
#9179EC #CA79EC #EC79D4
triadic
#CA79EC #ECCA79 #79ECCA
tetradic
#CA79EC #EC9179 #9BEC79 #79D4EC
square
#CA79EC #EC9179 #9BEC79 #79D4EC
split-complementary
#CA79EC #D4EC79 #79EC91
monochromatic
#991DCD #B543E4 #CA79EC #DFAFF4 #F4E4FB

Accessibility & contrast

On white

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

On black

7.46
#CA79EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79EC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79EC#FFFFFF#000000##000000
##CA79EC1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#C88AA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca79ec;
/* rgb */ color: rgb(202, 121, 236);
/* oklch */ color: oklch(70.7% 0.180 315.1);
Tailwind
colors: {
  custom: {
    50: '#dca2f2',
    500: '#ca79ec',
    950: '#000000',
  },
}
SCSS
$custom: #ca79ec;
$custom-light: #dca2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79ec",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 282.261,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70697,
    "c": 0.17968,
    "h": 315.1
  },
  "luminance": 0.32287
}

Semantic roles & 50–950 ramp

primary
#CA79EC
secondary
#DAF0D0
accent
#D70E4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CA79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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