#CD79E1#CD79E1

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

Color values

HEX#CD79E1
RGBrgb(205, 121, 225)
HSLhsl(288, 63%, 68%)
HSVhsv(288, 46%, 88%)
CMYKcmyk(8.9%, 46.2%, 0%, 11.8%)
CIE-LABlab(63.42, 49.11, -39.71)
CIE-LCHlch(63.42, 63.16, 321.04°)
OKLaboklab(70.49% 0.1293 -0.1097)
OKLCHoklch(70.49% 0.17 319.7)
XYZxyz(45.6031, 32.0918, 75.0117)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79E1 #8DE179
analogous
#9979E1 #CD79E1 #E179C1
triadic
#CD79E1 #E1CD79 #79E1CD
tetradic
#CD79E1 #E19979 #8DE179 #79C1E1
square
#CD79E1 #E19979 #8DE179 #79C1E1
split-complementary
#CD79E1 #C1E179 #79E199
monochromatic
#9B29B7 #BA47D6 #CD79E1 #E0ABEC #F2DDF7

Accessibility & contrast

On white

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

On black

7.42
#CD79E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79E1
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79E1#FFFFFF#000000##000000
##CD79E11.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6994E5
Deuteranopia (green-blind)
#809DDE
Tritanopia (blue-blind)
#CE87A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd79e1;
/* rgb */ color: rgb(205, 121, 225);
/* oklch */ color: oklch(70.5% 0.170 319.7);
Tailwind
colors: {
  custom: {
    50: '#dea2eb',
    500: '#cd79e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd79e1;
$custom-light: #dea2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79e1",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 288.462,
    "s": 63.415,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70486,
    "c": 0.16959,
    "h": 319.7
  },
  "luminance": 0.3209
}

Semantic roles & 50–950 ramp

primary
#CD79E1
secondary
#D1EBCB
accent
#CB1A3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD79E1

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

Preview Lab → · Contrast checker → · Palette generator →

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