#CA79DF#CA79DF

#CA79DF is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.1% C 0.166 H 319.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CA79DF
RGBrgb(202, 121, 223)
HSLhsl(288, 61%, 67%)
HSVhsv(288, 46%, 87%)
CMYKcmyk(9.4%, 45.7%, 0%, 12.5%)
CIE-LABlab(62.98, 47.86, -39.31)
CIE-LCHlch(62.98, 61.94, 320.60°)
OKLaboklab(70.05% 0.1255 -0.1086)
OKLCHoklch(70.05% 0.166 319.1)
XYZxyz(44.5120, 31.5606, 73.5448)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79DF #8EDF79
analogous
#9779DF #CA79DF #DF79C1
triadic
#CA79DF #DFCA79 #79DFCA
tetradic
#CA79DF #DF9779 #8EDF79 #79C1DF
square
#CA79DF #DF9779 #8EDF79 #79C1DF
split-complementary
#CA79DF #C1DF79 #79DF97
monochromatic
#972BB3 #B648D3 #CA79DF #DEAAEB #F1DCF7

Accessibility & contrast

On white

2.87
#CA79DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CA79DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79DF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79DF#FFFFFF#000000##000000
##CA79DF1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6993E3
Deuteranopia (green-blind)
#7F9BDC
Tritanopia (blue-blind)
#CB87A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca79df;
/* rgb */ color: rgb(202, 121, 223);
/* oklch */ color: oklch(70.1% 0.166 319.1);
Tailwind
colors: {
  custom: {
    50: '#dca2e9',
    500: '#ca79df',
    950: '#000000',
  },
}
SCSS
$custom: #ca79df;
$custom-light: #dca2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79df",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 287.647,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70052,
    "c": 0.16599,
    "h": 319.1
  },
  "luminance": 0.31559
}

Semantic roles & 50–950 ramp

primary
#CA79DF
secondary
#D1EACA
accent
#C91C40
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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