#CA79DB#CA79DB

#CA79DB is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.9% C 0.162 H 320.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CA79DB
RGBrgb(202, 121, 219)
HSLhsl(290, 58%, 67%)
HSVhsv(290, 45%, 86%)
CMYKcmyk(7.8%, 44.7%, 0%, 14.1%)
CIE-LABlab(62.80, 47.07, -37.36)
CIE-LCHlch(62.80, 60.10, 321.57°)
OKLaboklab(69.86% 0.1249 -0.103)
OKLCHoklch(69.86% 0.162 320.5)
XYZxyz(43.9791, 31.3474, 70.7381)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA79DB #8ADB79
analogous
#9979DB #CA79DB #DB79BB
triadic
#CA79DB #DBCA79 #79DBCA
tetradic
#CA79DB #DB9979 #8ADB79 #79BBDB
square
#CA79DB #DB9979 #8ADB79 #79BBDB
split-complementary
#CA79DB #BBDB79 #79DB99
monochromatic
#962EAC #B749CE #CA79DB #DDA9E8 #F0D9F5

Accessibility & contrast

On white

2.89
#CA79DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CA79DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA79DB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA79DB#FFFFFF#000000##000000
##CA79DB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B92DE
Deuteranopia (green-blind)
#819BD8
Tritanopia (blue-blind)
#CB85A0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ca79db;
/* rgb */ color: rgb(202, 121, 219);
/* oklch */ color: oklch(69.9% 0.162 320.5);
Tailwind
colors: {
  custom: {
    50: '#dca2e6',
    500: '#ca79db',
    950: '#000000',
  },
}
SCSS
$custom: #ca79db;
$custom-light: #dca2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca79db",
  "rgb": {
    "r": 202,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 289.592,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69861,
    "c": 0.16186,
    "h": 320.5
  },
  "luminance": 0.31346
}

Semantic roles & 50–950 ramp

primary
#CA79DB
secondary
#CEE8C8
accent
#C5203D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CA79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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