#CD79DE#CD79DE

#CD79DE is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.3% C 0.167 H 320.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CD79DE
RGBrgb(205, 121, 222)
HSLhsl(290, 60%, 67%)
HSVhsv(290, 45%, 87%)
CMYKcmyk(7.7%, 45.5%, 0%, 12.9%)
CIE-LABlab(63.28, 48.52, -38.25)
CIE-LCHlch(63.28, 61.79, 321.75°)
OKLaboklab(70.34% 0.1289 -0.1055)
OKLCHoklch(70.34% 0.167 320.7)
XYZxyz(45.1974, 31.9295, 72.8753)
Luminance0.3193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79DE #8ADE79
analogous
#9B79DE #CD79DE #DE79BD
triadic
#CD79DE #DECD79 #79DECD
tetradic
#CD79DE #DE9B79 #8ADE79 #79BDDE
square
#CD79DE #DE9B79 #8ADE79 #79BDDE
split-complementary
#CD79DE #BDDE79 #79DE9B
monochromatic
#9B2CB1 #BB48D2 #CD79DE #DFAAEA #F2DBF6

Accessibility & contrast

On white

2.84
#CD79DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CD79DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79DE
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79DE#FFFFFF#000000##000000
##CD79DE1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E2
Deuteranopia (green-blind)
#829CDB
Tritanopia (blue-blind)
#CF86A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd79de;
/* rgb */ color: rgb(205, 121, 222);
/* oklch */ color: oklch(70.3% 0.167 320.7);
Tailwind
colors: {
  custom: {
    50: '#dea2e8',
    500: '#cd79de',
    950: '#000000',
  },
}
SCSS
$custom: #cd79de;
$custom-light: #dea2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79de",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 289.901,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70342,
    "c": 0.16652,
    "h": 320.7
  },
  "luminance": 0.31928
}

Semantic roles & 50–950 ramp

primary
#CD79DE
secondary
#CFE9C9
accent
#C81D3A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79DE

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

Preview Lab → · Contrast checker → · Palette generator →

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