#CD74C8#CD74C8

#CD74C8 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.6% C 0.154 H 329.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#CD74C8
RGBrgb(205, 116, 200)
HSLhsl(303, 47%, 63%)
HSVhsv(303, 43%, 80%)
CMYKcmyk(0%, 43.4%, 2.4%, 19.6%)
CIE-LABlab(61.34, 46.99, -28.91)
CIE-LCHlch(61.34, 55.18, 328.40°)
OKLaboklab(68.59% 0.1319 -0.0788)
OKLCHoklch(68.59% 0.154 329.1)
XYZxyz(41.8470, 29.6422, 58.1497)
Luminance0.2964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74C8 #74CD79
analogous
#A574CD #CD74C8 #CD749B
triadic
#CD74C8 #C8CD74 #74C8CD
tetradic
#CD74C8 #CDA574 #74CD79 #749BCD
square
#CD74C8 #CDA574 #74CD79 #749BCD
split-complementary
#CD74C8 #9BCD74 #74CDA5
monochromatic
#92358D #BD47B6 #CD74C8 #DDA1DA #EDCEEC

Accessibility & contrast

On white

3.03
#CD74C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#CD74C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD74C8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74C8#FFFFFF#000000##000000
##CD74C81.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCB
Deuteranopia (green-blind)
#8798C5
Tritanopia (blue-blind)
#D37C95
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd74c8;
/* rgb */ color: rgb(205, 116, 200);
/* oklch */ color: oklch(68.6% 0.154 329.1);
Tailwind
colors: {
  custom: {
    50: '#de9ed9',
    500: '#cd74c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd74c8;
$custom-light: #de9ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74c8",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 303.371,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68588,
    "c": 0.15362,
    "h": 329.1
  },
  "luminance": 0.2964
}

Semantic roles & 50–950 ramp

primary
#CD74C8
secondary
#BEDEC0
accent
#BA332B
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150F14
muted
#837E83

Preview Lab

Preview with #CD74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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