#CD79E9#CD79E9

#CD79E9 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.178 H 317.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CD79E9
RGBrgb(205, 121, 233)
HSLhsl(285, 72%, 69%)
HSVhsv(285, 48%, 91%)
CMYKcmyk(12%, 48.1%, 0%, 8.6%)
CIE-LABlab(63.79, 50.70, -43.58)
CIE-LCHlch(63.79, 66.85, 319.32°)
OKLaboklab(70.88% 0.1305 -0.1209)
OKLCHoklch(70.88% 0.178 317.2)
XYZxyz(46.7201, 32.5386, 80.8945)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79E9 #95E979
analogous
#9579E9 #CD79E9 #E979CD
triadic
#CD79E9 #E9CD79 #79E9CD
tetradic
#CD79E9 #E99579 #95E979 #79CDE9
square
#CD79E9 #E99579 #95E979 #79CDE9
split-complementary
#CD79E9 #CDE979 #79E995
monochromatic
#9D21C7 #B944E0 #CD79E9 #E1AEF2 #F4E2FA

Accessibility & contrast

On white

2.80
#CD79E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CD79E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79E9
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79E9#FFFFFF#000000##000000
##CD79E91.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495ED
Deuteranopia (green-blind)
#7C9DE6
Tritanopia (blue-blind)
#CC89A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd79e9;
/* rgb */ color: rgb(205, 121, 233);
/* oklch */ color: oklch(70.9% 0.178 317.2);
Tailwind
colors: {
  custom: {
    50: '#dea2f0',
    500: '#cd79e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd79e9;
$custom-light: #dea2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79e9",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 233
  },
  "hsl": {
    "h": 285,
    "s": 71.795,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70879,
    "c": 0.17787,
    "h": 317.2
  },
  "luminance": 0.32537
}

Semantic roles & 50–950 ramp

primary
#CD79E9
secondary
#D7EFCF
accent
#D41242
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79E9

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

Preview Lab → · Contrast checker → · Palette generator →

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