#CD74CD#CD74CD

#CD74CD is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.8% C 0.158 H 327.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CD74CD
RGBrgb(205, 116, 205)
HSLhsl(300, 47%, 63%)
HSVhsv(300, 43%, 80%)
CMYKcmyk(0%, 43.4%, 0%, 19.6%)
CIE-LABlab(61.55, 47.90, -31.42)
CIE-LCHlch(61.55, 57.28, 326.74°)
OKLaboklab(68.81% 0.1329 -0.0859)
OKLCHoklch(68.81% 0.158 327.1)
XYZxyz(42.4409, 29.8798, 61.2776)
Luminance0.2988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74CD #74CD74
analogous
#A074CD #CD74CD #CD74A0
triadic
#CD74CD #CDCD74 #74CDCD
tetradic
#CD74CD #CDA074 #74CD74 #74A0CD
square
#CD74CD #CDA074 #74CD74 #74A0CD
split-complementary
#CD74CD #A0CD74 #74CDA0
monochromatic
#923592 #BD47BD #CD74CD #DDA1DD #EDCEED

Accessibility & contrast

On white

3.01
#CD74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CD74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD74CD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74CD#FFFFFF#000000##000000
##CD74CD1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DD0
Deuteranopia (green-blind)
#8599CA
Tritanopia (blue-blind)
#D27D97
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd74cd;
/* rgb */ color: rgb(205, 116, 205);
/* oklch */ color: oklch(68.8% 0.158 327.1);
Tailwind
colors: {
  custom: {
    50: '#de9edc',
    500: '#cd74cd',
    950: '#000000',
  },
}
SCSS
$custom: #cd74cd;
$custom-light: #de9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74cd",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6881,
    "c": 0.15824,
    "h": 327.1
  },
  "luminance": 0.29878
}

Semantic roles & 50–950 ramp

primary
#CD74CD
secondary
#BEDEBE
accent
#BA2B2B
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150F15
muted
#837E83

Preview Lab

Preview with #CD74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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