#CD79E5#CD79E5

#CD79E5 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.7% C 0.174 H 318.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CD79E5
RGBrgb(205, 121, 229)
HSLhsl(287, 68%, 69%)
HSVhsv(287, 47%, 90%)
CMYKcmyk(10.5%, 47.2%, 0%, 10.2%)
CIE-LABlab(63.60, 49.90, -41.65)
CIE-LCHlch(63.60, 65.00, 320.15°)
OKLaboklab(70.68% 0.1299 -0.1153)
OKLCHoklch(70.68% 0.174 318.4)
XYZxyz(46.1552, 32.3126, 77.9192)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79E5 #91E579
analogous
#9779E5 #CD79E5 #E579C7
triadic
#CD79E5 #E5CD79 #79E5CD
tetradic
#CD79E5 #E59779 #91E579 #79C7E5
square
#CD79E5 #E59779 #91E579 #79C7E5
split-complementary
#CD79E5 #C7E579 #79E597
monochromatic
#9C25BF #BA46DB #CD79E5 #E0ACEF #F3E0F9

Accessibility & contrast

On white

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

On black

7.46
#CD79E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79E5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79E5#FFFFFF#000000##000000
##CD79E51.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E9
Deuteranopia (green-blind)
#7E9DE2
Tritanopia (blue-blind)
#CD88A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd79e5;
/* rgb */ color: rgb(205, 121, 229);
/* oklch */ color: oklch(70.7% 0.174 318.4);
Tailwind
colors: {
  custom: {
    50: '#dea2ed',
    500: '#cd79e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd79e5;
$custom-light: #dea2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79e5",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 286.667,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70681,
    "c": 0.17371,
    "h": 318.4
  },
  "luminance": 0.32311
}

Semantic roles & 50–950 ramp

primary
#CD79E5
secondary
#D4EDCD
accent
#CF163F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79E5

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

Preview Lab → · Contrast checker → · Palette generator →

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