#CD79CA#CD79CA

#CD79CA is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.4% C 0.147 H 328.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CD79CA
RGBrgb(205, 121, 202)
HSLhsl(302, 46%, 64%)
HSVhsv(302, 41%, 80%)
CMYKcmyk(0%, 41%, 1.5%, 19.6%)
CIE-LABlab(62.44, 44.76, -28.35)
CIE-LCHlch(62.44, 52.98, 327.65°)
OKLaboklab(69.44% 0.125 -0.0772)
OKLCHoklch(69.44% 0.147 328.3)
XYZxyz(42.6742, 30.9202, 59.5860)
Luminance0.3092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD79CA #79CD7C
analogous
#A679CD #CD79CA #CD79A0
triadic
#CD79CA #CACD79 #79CACD
tetradic
#CD79CA #CDA679 #79CD7C #79A0CD
square
#CD79CA #CDA679 #79CD7C #79A0CD
split-complementary
#CD79CA #A0CD79 #79CDA6
monochromatic
#943791 #BC4CB8 #CD79CA #DEA6DC #EED2ED

Accessibility & contrast

On white

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

On black

7.18
#CD79CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD79CA
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD79CA#FFFFFF#000000##000000
##CD79CA1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CD
Deuteranopia (green-blind)
#8A9BC7
Tritanopia (blue-blind)
#D28098
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd79ca;
/* rgb */ color: rgb(205, 121, 202);
/* oklch */ color: oklch(69.4% 0.147 328.3);
Tailwind
colors: {
  custom: {
    50: '#dea2da',
    500: '#cd79ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd79ca;
$custom-light: #dea2da;
$custom-dark: #000000;
JSON
{
  "hex": "#cd79ca",
  "rgb": {
    "r": 205,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 302.143,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69435,
    "c": 0.14692,
    "h": 328.3
  },
  "luminance": 0.30918
}

Semantic roles & 50–950 ramp

primary
#CD79CA
secondary
#C2E0C3
accent
#B9322D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CD79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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