#CD79E4#CD79E4

#CD79E4 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.173 H 318.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CD79E4
RGBrgb(205, 121, 228)
HSLhsl(287, 66%, 68%)
HSVhsv(287, 47%, 89%)
CMYKcmyk(10.1%, 46.9%, 0%, 10.6%)
CIE-LABlab(63.55, 49.70, -41.17)
CIE-LCHlch(63.55, 64.54, 320.37°)
OKLaboklab(70.63% 0.1298 -0.1139)
OKLCHoklch(70.63% 0.173 318.7)
XYZxyz(46.0159, 32.2569, 77.1860)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79E4 #90E479
analogous
#9779E4 #CD79E4 #E479C5
triadic
#CD79E4 #E4CD79 #79E4CD
tetradic
#CD79E4 #E49779 #90E479 #79C5E4
square
#CD79E4 #E49779 #90E479 #79C5E4
split-complementary
#CD79E4 #C5E479 #79E497
monochromatic
#9C26BD #BA46DA #CD79E4 #E0ACEE #F3DFF9

Accessibility & contrast

On white

2.82
#CD79E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CD79E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79E4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79E4#FFFFFF#000000##000000
##CD79E41.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6794E8
Deuteranopia (green-blind)
#7F9DE1
Tritanopia (blue-blind)
#CD88A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd79e4;
/* rgb */ color: rgb(205, 121, 228);
/* oklch */ color: oklch(70.6% 0.173 318.7);
Tailwind
colors: {
  custom: {
    50: '#dea2ed',
    500: '#cd79e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd79e4;
$custom-light: #dea2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79e4",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 287.103,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70632,
    "c": 0.17268,
    "h": 318.7
  },
  "luminance": 0.32255
}

Semantic roles & 50–950 ramp

primary
#CD79E4
secondary
#D3ECCC
accent
#CE173F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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