#CD79EF#CD79EF

#CD79EF is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.2% C 0.184 H 315.5°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CD79EF
RGBrgb(205, 121, 239)
HSLhsl(283, 79%, 71%)
HSVhsv(283, 49%, 94%)
CMYKcmyk(14.2%, 49.4%, 0%, 6.3%)
CIE-LABlab(64.07, 51.91, -46.45)
CIE-LCHlch(64.07, 69.66, 318.18°)
OKLaboklab(71.18% 0.1312 -0.1292)
OKLCHoklch(71.18% 0.184 315.5)
XYZxyz(47.5918, 32.8873, 85.4855)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79EF #9BEF79
analogous
#9279EF #CD79EF #EF79D6
triadic
#CD79EF #EFCD79 #79EFCD
tetradic
#CD79EF #EF9279 #9BEF79 #79D6EF
square
#CD79EF #EF9279 #9BEF79 #79D6EF
split-complementary
#CD79EF #D6EF79 #79EF92
monochromatic
#9E19D4 #B942E8 #CD79EF #E1B0F6 #F5E4FC

Accessibility & contrast

On white

2.77
#CD79EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CD79EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79EF
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79EF#FFFFFF#000000##000000
##CD79EF1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#CB8BA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd79ef;
/* rgb */ color: rgb(205, 121, 239);
/* oklch */ color: oklch(71.2% 0.184 315.5);
Tailwind
colors: {
  custom: {
    50: '#dea2f5',
    500: '#cd79ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd79ef;
$custom-light: #dea2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79ef",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 282.712,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71182,
    "c": 0.18416,
    "h": 315.5
  },
  "luminance": 0.32886
}

Semantic roles & 50–950 ramp

primary
#CD79EF
secondary
#DBF2D2
accent
#DB0B47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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