#CD79E6#CD79E6

#CD79E6 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.7% C 0.175 H 318.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CD79E6
RGBrgb(205, 121, 230)
HSLhsl(286, 69%, 69%)
HSVhsv(286, 47%, 90%)
CMYKcmyk(10.9%, 47.4%, 0%, 9.8%)
CIE-LABlab(63.65, 50.10, -42.13)
CIE-LCHlch(63.65, 65.46, 319.94°)
OKLaboklab(70.73% 0.1301 -0.1167)
OKLCHoklch(70.73% 0.175 318.1)
XYZxyz(46.2952, 32.3686, 78.6567)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79E6 #92E679
analogous
#9779E6 #CD79E6 #E679C8
triadic
#CD79E6 #E6CD79 #79E6CD
tetradic
#CD79E6 #E69779 #92E679 #79C8E6
square
#CD79E6 #E69779 #92E679 #79C8E6
split-complementary
#CD79E6 #C8E679 #79E697
monochromatic
#9D24C1 #BA45DC #CD79E6 #E0ADF0 #F3E0F9

Accessibility & contrast

On white

2.81
#CD79E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CD79E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79E6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79E6#FFFFFF#000000##000000
##CD79E61.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EA
Deuteranopia (green-blind)
#7E9DE3
Tritanopia (blue-blind)
#CD88A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd79e6;
/* rgb */ color: rgb(205, 121, 230);
/* oklch */ color: oklch(70.7% 0.175 318.1);
Tailwind
colors: {
  custom: {
    50: '#dea2ee',
    500: '#cd79e6',
    950: '#000000',
  },
}
SCSS
$custom: #cd79e6;
$custom-light: #dea2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79e6",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 230
  },
  "hsl": {
    "h": 286.239,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7073,
    "c": 0.17475,
    "h": 318.1
  },
  "luminance": 0.32367
}

Semantic roles & 50–950 ramp

primary
#CD79E6
secondary
#D5EECD
accent
#D01540
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79E6

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

Preview Lab → · Contrast checker → · Palette generator →

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