#CD79CE#CD79CE

#CD79CE is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.6% C 0.151 H 326.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CD79CE
RGBrgb(205, 121, 206)
HSLhsl(299, 46%, 64%)
HSVhsv(299, 41%, 81%)
CMYKcmyk(0.5%, 41.3%, 0%, 19.2%)
CIE-LABlab(62.60, 45.49, -30.35)
CIE-LCHlch(62.60, 54.69, 326.29°)
OKLaboklab(69.61% 0.1259 -0.0829)
OKLCHoklch(69.61% 0.151 326.6)
XYZxyz(43.1539, 31.1121, 62.1127)
Luminance0.3111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79CE #7ACE79
analogous
#A379CE #CD79CE #CE79A5
triadic
#CD79CE #CECD79 #79CECD
tetradic
#CD79CE #CEA379 #7ACE79 #79A5CE
square
#CD79CE #CEA379 #7ACE79 #79A5CE
split-complementary
#CD79CE #A5CE79 #79CEA3
monochromatic
#953796 #BC4CBE #CD79CE #DEA6DE #EED3EF

Accessibility & contrast

On white

2.91
#CD79CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CD79CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79CE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79CE#FFFFFF#000000##000000
##CD79CE1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D1
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#D2819A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd79ce;
/* rgb */ color: rgb(205, 121, 206);
/* oklch */ color: oklch(69.6% 0.151 326.6);
Tailwind
colors: {
  custom: {
    50: '#dea2dd',
    500: '#cd79ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd79ce;
$custom-light: #dea2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79ce",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 299.294,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69609,
    "c": 0.15071,
    "h": 326.6
  },
  "luminance": 0.3111
}

Semantic roles & 50–950 ramp

primary
#CD79CE
secondary
#C3E0C3
accent
#BA2C2D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD79CE

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

Preview Lab → · Contrast checker → · Palette generator →

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