#CA79DD#CA79DD

#CA79DD is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.164 H 319.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CA79DD
RGBrgb(202, 121, 221)
HSLhsl(289, 60%, 67%)
HSVhsv(289, 45%, 87%)
CMYKcmyk(8.6%, 45.2%, 0%, 13.3%)
CIE-LABlab(62.89, 47.47, -38.34)
CIE-LCHlch(62.89, 61.01, 321.07°)
OKLaboklab(69.96% 0.1252 -0.1058)
OKLCHoklch(69.96% 0.164 319.8)
XYZxyz(44.2440, 31.4533, 72.1331)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79DD #8CDD79
analogous
#9879DD #CA79DD #DD79BE
triadic
#CA79DD #DDCA79 #79DDCA
tetradic
#CA79DD #DD9879 #8CDD79 #79BEDD
square
#CA79DD #DD9879 #8CDD79 #79BEDD
split-complementary
#CA79DD #BEDD79 #79DD98
monochromatic
#962CAF #B748D1 #CA79DD #DDAAE9 #F1DBF6

Accessibility & contrast

On white

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

On black

7.29
#CA79DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79DD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79DD#FFFFFF#000000##000000
##CA79DD1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E0
Deuteranopia (green-blind)
#809BDA
Tritanopia (blue-blind)
#CB86A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca79dd;
/* rgb */ color: rgb(202, 121, 221);
/* oklch */ color: oklch(70.0% 0.164 319.8);
Tailwind
colors: {
  custom: {
    50: '#dca2e8',
    500: '#ca79dd',
    950: '#000000',
  },
}
SCSS
$custom: #ca79dd;
$custom-light: #dca2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79dd",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 288.6,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69956,
    "c": 0.16392,
    "h": 319.8
  },
  "luminance": 0.31452
}

Semantic roles & 50–950 ramp

primary
#CA79DD
secondary
#CFE9C9
accent
#C71E3E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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