#CD74EE#CD74EE

#CD74EE is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.4% C 0.191 H 316.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CD74EE
RGBrgb(205, 116, 238)
HSLhsl(284, 78%, 69%)
HSVhsv(284, 51%, 93%)
CMYKcmyk(13.9%, 51.3%, 0%, 6.7%)
CIE-LABlab(63.05, 54.25, -47.51)
CIE-LCHlch(63.05, 72.11, 318.79°)
OKLaboklab(70.41% 0.1378 -0.1322)
OKLCHoklch(70.41% 0.191 316.2)
XYZxyz(46.8525, 31.6444, 84.5123)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74EE #95EE74
analogous
#9074EE #CD74EE #EE74D2
triadic
#CD74EE #EECD74 #74EECD
tetradic
#CD74EE #EE9074 #95EE74 #74D2EE
square
#CD74EE #EE9074 #95EE74 #74D2EE
split-complementary
#CD74EE #D2EE74 #74EE90
monochromatic
#9D19CE #B93DE7 #CD74EE #E1ABF5 #F4E1FB

Accessibility & contrast

On white

2.87
#CD74EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CD74EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74EE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74EE#FFFFFF#000000##000000
##CD74EE1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F2
Deuteranopia (green-blind)
#769BEB
Tritanopia (blue-blind)
#CB87A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd74ee;
/* rgb */ color: rgb(205, 116, 238);
/* oklch */ color: oklch(70.4% 0.191 316.2);
Tailwind
colors: {
  custom: {
    50: '#df9ff4',
    500: '#cd74ee',
    950: '#000000',
  },
}
SCSS
$custom: #cd74ee;
$custom-light: #df9ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74ee",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 283.77,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70411,
    "c": 0.19098,
    "h": 316.2
  },
  "luminance": 0.31643
}

Semantic roles & 50–950 ramp

primary
#CD74EE
secondary
#D7F0CD
accent
#DA0B43
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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