#CD79DF#CD79DF

#CD79DF is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.168 H 320.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CD79DF
RGBrgb(205, 121, 223)
HSLhsl(289, 61%, 67%)
HSVhsv(289, 46%, 87%)
CMYKcmyk(8.1%, 45.7%, 0%, 12.5%)
CIE-LABlab(63.33, 48.72, -38.74)
CIE-LCHlch(63.33, 62.24, 321.51°)
OKLaboklab(70.39% 0.129 -0.1069)
OKLCHoklch(70.39% 0.168 320.4)
XYZxyz(45.3319, 31.9833, 73.5832)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79DF #8BDF79
analogous
#9A79DF #CD79DF #DF79BE
triadic
#CD79DF #DFCD79 #79DFCD
tetradic
#CD79DF #DF9A79 #8BDF79 #79BEDF
square
#CD79DF #DF9A79 #8BDF79 #79BEDF
split-complementary
#CD79DF #BEDF79 #79DF9A
monochromatic
#9B2BB3 #BB48D3 #CD79DF #DFAAEB #F2DCF7

Accessibility & contrast

On white

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

On black

7.40
#CD79DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79DF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79DF#FFFFFF#000000##000000
##CD79DF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E3
Deuteranopia (green-blind)
#819CDC
Tritanopia (blue-blind)
#CE86A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd79df;
/* rgb */ color: rgb(205, 121, 223);
/* oklch */ color: oklch(70.4% 0.168 320.4);
Tailwind
colors: {
  custom: {
    50: '#dea2e9',
    500: '#cd79df',
    950: '#000000',
  },
}
SCSS
$custom: #cd79df;
$custom-light: #dea2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79df",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 289.412,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7039,
    "c": 0.16755,
    "h": 320.4
  },
  "luminance": 0.31982
}

Semantic roles & 50–950 ramp

primary
#CD79DF
secondary
#D0EACA
accent
#C91C3B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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