#CD79CC#CD79CC

#CD79CC is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.5% C 0.149 H 327.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CD79CC
RGBrgb(205, 121, 204)
HSLhsl(301, 46%, 64%)
HSVhsv(301, 41%, 80%)
CMYKcmyk(0%, 41%, 0.5%, 19.6%)
CIE-LABlab(62.52, 45.13, -29.35)
CIE-LCHlch(62.52, 53.83, 326.96°)
OKLaboklab(69.52% 0.1254 -0.0801)
OKLCHoklch(69.52% 0.149 327.5)
XYZxyz(42.9125, 31.0155, 60.8413)
Luminance0.3101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79CC #79CD7A
analogous
#A479CD #CD79CC #CD79A2
triadic
#CD79CC #CCCD79 #79CCCD
tetradic
#CD79CC #CDA479 #79CD7A #79A2CD
square
#CD79CC #CDA479 #79CD7A #79A2CD
split-complementary
#CD79CC #A2CD79 #79CDA4
monochromatic
#943793 #BC4CBB #CD79CC #DEA6DD #EED2EE

Accessibility & contrast

On white

2.92
#CD79CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CD79CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79CC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79CC#FFFFFF#000000##000000
##CD79CC1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CF
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#D28199
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd79cc;
/* rgb */ color: rgb(205, 121, 204);
/* oklch */ color: oklch(69.5% 0.149 327.5);
Tailwind
colors: {
  custom: {
    50: '#dea2db',
    500: '#cd79cc',
    950: '#000000',
  },
}
SCSS
$custom: #cd79cc;
$custom-light: #dea2db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79cc",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 300.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69522,
    "c": 0.1488,
    "h": 327.5
  },
  "luminance": 0.31014
}

Semantic roles & 50–950 ramp

primary
#CD79CC
secondary
#C2E0C3
accent
#B92E2D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD79CC

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

Preview Lab → · Contrast checker → · Palette generator →

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