#CD74D2#CD74D2

#CD74D2 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.0% C 0.163 H 325.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CD74D2
RGBrgb(205, 116, 210)
HSLhsl(297, 51%, 64%)
HSVhsv(297, 45%, 82%)
CMYKcmyk(2.4%, 44.8%, 0%, 17.6%)
CIE-LABlab(61.76, 48.82, -33.90)
CIE-LCHlch(61.76, 59.43, 325.22°)
OKLaboklab(69.04% 0.1339 -0.093)
OKLCHoklch(69.04% 0.163 325.2)
XYZxyz(43.0541, 30.1251, 64.5072)
Luminance0.3012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74D2 #79D274
analogous
#9E74D2 #CD74D2 #D274A8
triadic
#CD74D2 #D2CD74 #74D2CD
tetradic
#CD74D2 #D29E74 #79D274 #74A8D2
square
#CD74D2 #D29E74 #79D274 #74A8D2
split-complementary
#CD74D2 #A8D274 #74D29E
monochromatic
#94329A #BC46C3 #CD74D2 #DEA2E1 #EED0F0

Accessibility & contrast

On white

2.99
#CD74D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CD74D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74D2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74D2#FFFFFF#000000##000000
##CD74D21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ED5
Deuteranopia (green-blind)
#8399CF
Tritanopia (blue-blind)
#D17E99
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd74d2;
/* rgb */ color: rgb(205, 116, 210);
/* oklch */ color: oklch(69.0% 0.163 325.2);
Tailwind
colors: {
  custom: {
    50: '#de9ee0',
    500: '#cd74d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd74d2;
$custom-light: #de9ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74d2",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 210
  },
  "hsl": {
    "h": 296.809,
    "s": 51.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69037,
    "c": 0.16299,
    "h": 325.2
  },
  "luminance": 0.30123
}

Semantic roles & 50–950 ramp

primary
#CD74D2
secondary
#C2E1C0
accent
#BE272F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150F15
muted
#837E83

Preview Lab

Preview with #CD74D2

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

Preview Lab → · Contrast checker → · Palette generator →

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