#CD79DB#CD79DB

#CD79DB is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.2% C 0.164 H 321.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CD79DB
RGBrgb(205, 121, 219)
HSLhsl(291, 58%, 67%)
HSVhsv(291, 45%, 86%)
CMYKcmyk(6.4%, 44.7%, 0%, 14.1%)
CIE-LABlab(63.15, 47.94, -36.78)
CIE-LCHlch(63.15, 60.43, 322.51°)
OKLaboklab(70.2% 0.1284 -0.1013)
OKLCHoklch(70.2% 0.164 321.7)
XYZxyz(44.7990, 31.7701, 70.7765)
Luminance0.3177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79DB #87DB79
analogous
#9C79DB #CD79DB #DB79B8
triadic
#CD79DB #DBCD79 #79DBCD
tetradic
#CD79DB #DB9C79 #87DB79 #79B8DB
square
#CD79DB #DB9C79 #87DB79 #79B8DB
split-complementary
#CD79DB #B8DB79 #79DB9C
monochromatic
#9A2EAC #BB49CE #CD79DB #DFA9E8 #F1D9F5

Accessibility & contrast

On white

2.86
#CD79DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CD79DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79DB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79DB#FFFFFF#000000##000000
##CD79DB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DE
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#CF85A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd79db;
/* rgb */ color: rgb(205, 121, 219);
/* oklch */ color: oklch(70.2% 0.164 321.7);
Tailwind
colors: {
  custom: {
    50: '#dea2e6',
    500: '#cd79db',
    950: '#000000',
  },
}
SCSS
$custom: #cd79db;
$custom-light: #dea2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79db",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 291.429,
    "s": 57.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70201,
    "c": 0.1635,
    "h": 321.7
  },
  "luminance": 0.31768
}

Semantic roles & 50–950 ramp

primary
#CD79DB
secondary
#CDE8C8
accent
#C52038
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79DB

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

Preview Lab → · Contrast checker → · Palette generator →

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