#CD74DC#CD74DC

#CD74DC is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.5% C 0.173 H 321.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CD74DC
RGBrgb(205, 116, 220)
HSLhsl(291, 60%, 66%)
HSVhsv(291, 47%, 86%)
CMYKcmyk(6.8%, 47.3%, 0%, 13.7%)
CIE-LABlab(62.20, 50.70, -38.82)
CIE-LCHlch(62.20, 63.86, 322.56°)
OKLaboklab(69.51% 0.1355 -0.1071)
OKLCHoklch(69.51% 0.173 321.7)
XYZxyz(44.3390, 30.6391, 71.2746)
Luminance0.3064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74DC #83DC74
analogous
#9974DC #CD74DC #DC74B7
triadic
#CD74DC #DCCD74 #74DCCD
tetradic
#CD74DC #DC9974 #83DC74 #74B7DC
square
#CD74DC #DC9974 #83DC74 #74B7DC
split-complementary
#CD74DC #B7DC74 #74DC99
monochromatic
#982BAB #BB43D0 #CD74DC #DFA5E8 #F0D6F5

Accessibility & contrast

On white

2.95
#CD74DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CD74DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74DC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74DC#FFFFFF#000000##000000
##CD74DC1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590E0
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#CF819E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd74dc;
/* rgb */ color: rgb(205, 116, 220);
/* oklch */ color: oklch(69.5% 0.173 321.7);
Tailwind
colors: {
  custom: {
    50: '#de9fe7',
    500: '#cd74dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd74dc;
$custom-light: #de9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74dc",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 291.346,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69508,
    "c": 0.17275,
    "h": 321.7
  },
  "luminance": 0.30637
}

Semantic roles & 50–950 ramp

primary
#CD74DC
secondary
#CAE7C5
accent
#C71E36
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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