#CD74CF#CD74CF

#CD74CF is a light, vivid purple. Relative luminance 0.300; OKLCH L 68.9% C 0.160 H 326.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CD74CF
RGBrgb(205, 116, 207)
HSLhsl(299, 49%, 63%)
HSVhsv(299, 44%, 81%)
CMYKcmyk(1%, 44%, 0%, 18.8%)
CIE-LABlab(61.63, 48.26, -32.41)
CIE-LCHlch(61.63, 58.14, 326.11°)
OKLaboklab(68.9% 0.1333 -0.0887)
OKLCHoklch(68.9% 0.16 326.3)
XYZxyz(42.6838, 29.9770, 62.5572)
Luminance0.2998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74CF #76CF74
analogous
#9F74CF #CD74CF #CF74A3
triadic
#CD74CF #CFCD74 #74CFCD
tetradic
#CD74CF #CF9F74 #76CF74 #74A3CF
square
#CD74CF #CF9F74 #76CF74 #74A3CF
split-complementary
#CD74CF #A3CF74 #74CF9F
monochromatic
#933395 #BD47BF #CD74CF #DDA1DF #EECFEE

Accessibility & contrast

On white

3.00
#CD74CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CD74CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74CF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74CF#FFFFFF#000000##000000
##CD74CF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ED2
Deuteranopia (green-blind)
#8499CC
Tritanopia (blue-blind)
#D27D98
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd74cf;
/* rgb */ color: rgb(205, 116, 207);
/* oklch */ color: oklch(68.9% 0.160 326.3);
Tailwind
colors: {
  custom: {
    50: '#de9ede',
    500: '#cd74cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd74cf;
$custom-light: #de9ede;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74cf",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 298.681,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.689,
    "c": 0.16013,
    "h": 326.3
  },
  "luminance": 0.29975
}

Semantic roles & 50–950 ramp

primary
#CD74CF
secondary
#C0E0BF
accent
#BC2A2D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150F15
muted
#837E83

Preview Lab

Preview with #CD74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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