#CA79DC#CA79DC

#CA79DC is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.9% C 0.163 H 320.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CA79DC
RGBrgb(202, 121, 220)
HSLhsl(289, 59%, 67%)
HSVhsv(289, 45%, 86%)
CMYKcmyk(8.2%, 45%, 0%, 13.7%)
CIE-LABlab(62.84, 47.27, -37.85)
CIE-LCHlch(62.84, 60.55, 321.32°)
OKLaboklab(69.91% 0.125 -0.1044)
OKLCHoklch(69.91% 0.163 320.1)
XYZxyz(44.1112, 31.4002, 71.4335)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79DC #8BDC79
analogous
#9979DC #CA79DC #DC79BD
triadic
#CA79DC #DCCA79 #79DCCA
tetradic
#CA79DC #DC9979 #8BDC79 #79BDDC
square
#CA79DC #DC9979 #8BDC79 #79BDDC
split-complementary
#CA79DC #BDDC79 #79DC99
monochromatic
#962DAD #B748CF #CA79DC #DDAAE9 #F0DAF5

Accessibility & contrast

On white

2.88
#CA79DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CA79DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79DC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79DC#FFFFFF#000000##000000
##CA79DC1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DF
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#CB86A0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca79dc;
/* rgb */ color: rgb(202, 121, 220);
/* oklch */ color: oklch(69.9% 0.163 320.1);
Tailwind
colors: {
  custom: {
    50: '#dca2e7',
    500: '#ca79dc',
    950: '#000000',
  },
}
SCSS
$custom: #ca79dc;
$custom-light: #dca2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79dc",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 289.091,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69909,
    "c": 0.16289,
    "h": 320.1
  },
  "luminance": 0.31399
}

Semantic roles & 50–950 ramp

primary
#CA79DC
secondary
#CEE8C9
accent
#C61F3E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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