#CD74E6#CD74E6

#CD74E6 is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.0% C 0.183 H 318.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CD74E6
RGBrgb(205, 116, 230)
HSLhsl(287, 70%, 68%)
HSVhsv(287, 50%, 90%)
CMYKcmyk(10.9%, 49.6%, 0%, 9.8%)
CIE-LABlab(62.66, 52.65, -43.68)
CIE-LCHlch(62.66, 68.41, 320.32°)
OKLaboklab(70% 0.1369 -0.1211)
OKLCHoklch(70% 0.183 318.5)
XYZxyz(45.7032, 31.1847, 78.4594)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74E6 #8DE674
analogous
#9474E6 #CD74E6 #E674C6
triadic
#CD74E6 #E6CD74 #74E6CD
tetradic
#CD74E6 #E69474 #8DE674 #74C6E6
square
#CD74E6 #E69474 #8DE674 #74C6E6
split-complementary
#CD74E6 #C6E674 #74E694
monochromatic
#9B22BE #BA40DD #CD74E6 #E0A8EF #F2DCF9

Accessibility & contrast

On white

2.90
#CD74E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CD74E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74E6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74E6#FFFFFF#000000##000000
##CD74E61.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F92EA
Deuteranopia (green-blind)
#7A9BE3
Tritanopia (blue-blind)
#CD84A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd74e6;
/* rgb */ color: rgb(205, 116, 230);
/* oklch */ color: oklch(70.0% 0.183 318.5);
Tailwind
colors: {
  custom: {
    50: '#de9fee',
    500: '#cd74e6',
    950: '#000000',
  },
}
SCSS
$custom: #cd74e6;
$custom-light: #de9fee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74e6",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 286.842,
    "s": 69.512,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70001,
    "c": 0.1828,
    "h": 318.5
  },
  "luminance": 0.31183
}

Semantic roles & 50–950 ramp

primary
#CD74E6
secondary
#D1ECC9
accent
#D1143E
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD74E6

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

Preview Lab → · Contrast checker → · Palette generator →

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