#CD79E2#CD79E2

#CD79E2 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.5% C 0.171 H 319.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CD79E2
RGBrgb(205, 121, 226)
HSLhsl(288, 64%, 68%)
HSVhsv(288, 46%, 89%)
CMYKcmyk(9.3%, 46.5%, 0%, 11.4%)
CIE-LABlab(63.46, 49.31, -40.20)
CIE-LCHlch(63.46, 63.61, 320.81°)
OKLaboklab(70.53% 0.1295 -0.1111)
OKLCHoklch(70.53% 0.171 319.4)
XYZxyz(45.7399, 32.1465, 75.7323)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79E2 #8EE279
analogous
#9879E2 #CD79E2 #E279C2
triadic
#CD79E2 #E2CD79 #79E2CD
tetradic
#CD79E2 #E29879 #8EE279 #79C2E2
square
#CD79E2 #E29879 #8EE279 #79C2E2
split-complementary
#CD79E2 #C2E279 #79E298
monochromatic
#9C28B9 #BA47D7 #CD79E2 #E0ABED #F3DEF8

Accessibility & contrast

On white

2.83
#CD79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CD79E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79E2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79E2#FFFFFF#000000##000000
##CD79E21.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#809DDF
Tritanopia (blue-blind)
#CE87A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd79e2;
/* rgb */ color: rgb(205, 121, 226);
/* oklch */ color: oklch(70.5% 0.171 319.4);
Tailwind
colors: {
  custom: {
    50: '#dea2eb',
    500: '#cd79e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd79e2;
$custom-light: #dea2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79e2",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 288,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70534,
    "c": 0.17062,
    "h": 319.4
  },
  "luminance": 0.32145
}

Semantic roles & 50–950 ramp

primary
#CD79E2
secondary
#D2EBCB
accent
#CC193D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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