#CA79E2#CA79E2

#CA79E2 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.2% C 0.169 H 318.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CA79E2
RGBrgb(202, 121, 226)
HSLhsl(286, 64%, 68%)
HSVhsv(286, 46%, 89%)
CMYKcmyk(10.6%, 46.5%, 0%, 11.4%)
CIE-LABlab(63.11, 48.46, -40.77)
CIE-LCHlch(63.11, 63.33, 319.93°)
OKLaboklab(70.2% 0.126 -0.1128)
OKLCHoklch(70.2% 0.169 318.2)
XYZxyz(44.9201, 31.7238, 75.6938)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79E2 #91E279
analogous
#9579E2 #CA79E2 #E279C5
triadic
#CA79E2 #E2CA79 #79E2CA
tetradic
#CA79E2 #E29579 #91E279 #79C5E2
square
#CA79E2 #E29579 #91E279 #79C5E2
split-complementary
#CA79E2 #C5E279 #79E295
monochromatic
#9828B9 #B647D7 #CA79E2 #DEABED #F2DEF8

Accessibility & contrast

On white

2.86
#CA79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CA79E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79E2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79E2#FFFFFF#000000##000000
##CA79E21.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6793E6
Deuteranopia (green-blind)
#7E9BDF
Tritanopia (blue-blind)
#CA87A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca79e2;
/* rgb */ color: rgb(202, 121, 226);
/* oklch */ color: oklch(70.2% 0.169 318.2);
Tailwind
colors: {
  custom: {
    50: '#dca2eb',
    500: '#ca79e2',
    950: '#000000',
  },
}
SCSS
$custom: #ca79e2;
$custom-light: #dca2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79e2",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 286.286,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70198,
    "c": 0.16912,
    "h": 318.2
  },
  "luminance": 0.31722
}

Semantic roles & 50–950 ramp

primary
#CA79E2
secondary
#D3EBCB
accent
#CC1942
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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