#CA79E5#CA79E5

#CA79E5 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.3% C 0.172 H 317.2°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CA79E5
RGBrgb(202, 121, 229)
HSLhsl(285, 68%, 69%)
HSVhsv(285, 47%, 90%)
CMYKcmyk(11.8%, 47.2%, 0%, 10.2%)
CIE-LABlab(63.25, 49.06, -42.22)
CIE-LCHlch(63.25, 64.73, 319.28°)
OKLaboklab(70.35% 0.1264 -0.117)
OKLCHoklch(70.35% 0.172 317.2)
XYZxyz(45.3353, 31.8899, 77.8808)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79E5 #94E579
analogous
#9479E5 #CA79E5 #E579CA
triadic
#CA79E5 #E5CA79 #79E5CA
tetradic
#CA79E5 #E59479 #94E579 #79CAE5
square
#CA79E5 #E59479 #94E579 #79CAE5
split-complementary
#CA79E5 #CAE579 #79E594
monochromatic
#9825BF #B646DB #CA79E5 #DEACEF #F3E0F9

Accessibility & contrast

On white

2.85
#CA79E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CA79E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79E5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79E5#FFFFFF#000000##000000
##CA79E51.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6594E9
Deuteranopia (green-blind)
#7C9CE2
Tritanopia (blue-blind)
#C988A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ca79e5;
/* rgb */ color: rgb(202, 121, 229);
/* oklch */ color: oklch(70.3% 0.172 317.2);
Tailwind
colors: {
  custom: {
    50: '#dca2ed',
    500: '#ca79e5',
    950: '#000000',
  },
}
SCSS
$custom: #ca79e5;
$custom-light: #dca2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79e5",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 285,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70345,
    "c": 0.17227,
    "h": 317.2
  },
  "luminance": 0.31888
}

Semantic roles & 50–950 ramp

primary
#CA79E5
secondary
#D5EDCD
accent
#CF1644
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA79E5

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

Preview Lab → · Contrast checker → · Palette generator →

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