#CD74DE#CD74DE

#CD74DE is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.6% C 0.175 H 321.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CD74DE
RGBrgb(205, 116, 222)
HSLhsl(290, 62%, 66%)
HSVhsv(290, 48%, 87%)
CMYKcmyk(7.7%, 47.7%, 0%, 12.9%)
CIE-LABlab(62.29, 51.09, -39.80)
CIE-LCHlch(62.29, 64.76, 322.08°)
OKLaboklab(69.6% 0.1358 -0.1099)
OKLCHoklch(69.6% 0.175 321)
XYZxyz(44.6055, 30.7456, 72.6780)
Luminance0.3074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74DE #85DE74
analogous
#9874DE #CD74DE #DE74BA
triadic
#CD74DE #DECD74 #74DECD
tetradic
#CD74DE #DE9874 #85DE74 #74BADE
square
#CD74DE #DE9874 #85DE74 #74BADE
split-complementary
#CD74DE #BADE74 #74DE98
monochromatic
#9929AE #BB43D2 #CD74DE #DFA5EA #F1D7F5

Accessibility & contrast

On white

2.94
#CD74DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CD74DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74DE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74DE#FFFFFF#000000##000000
##CD74DE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E2
Deuteranopia (green-blind)
#7E9ADB
Tritanopia (blue-blind)
#CF829F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd74de;
/* rgb */ color: rgb(205, 116, 222);
/* oklch */ color: oklch(69.6% 0.175 321.0);
Tailwind
colors: {
  custom: {
    50: '#de9fe8',
    500: '#cd74de',
    950: '#000000',
  },
}
SCSS
$custom: #cd74de;
$custom-light: #de9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74de",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 222
  },
  "hsl": {
    "h": 290.377,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69605,
    "c": 0.17474,
    "h": 321
  },
  "luminance": 0.30744
}

Semantic roles & 50–950 ramp

primary
#CD74DE
secondary
#CBE8C6
accent
#C91C38
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD74DE

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

Preview Lab → · Contrast checker → · Palette generator →

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