#CD74E7#CD74E7

#CD74E7 is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.1% C 0.184 H 318.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CD74E7
RGBrgb(205, 116, 231)
HSLhsl(286, 71%, 68%)
HSVhsv(286, 50%, 91%)
CMYKcmyk(11.3%, 49.8%, 0%, 9.4%)
CIE-LABlab(62.71, 52.85, -44.16)
CIE-LCHlch(62.71, 68.87, 320.12°)
OKLaboklab(70.05% 0.137 -0.1225)
OKLCHoklch(70.05% 0.184 318.2)
XYZxyz(45.8441, 31.2411, 79.2010)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74E7 #8EE774
analogous
#9374E7 #CD74E7 #E774C7
triadic
#CD74E7 #E7CD74 #74E7CD
tetradic
#CD74E7 #E79374 #8EE774 #74C7E7
square
#CD74E7 #E79374 #8EE774 #74C7E7
split-complementary
#CD74E7 #C7E774 #74E793
monochromatic
#9C21C0 #BA40DE #CD74E7 #E0A8F0 #F3DCF9

Accessibility & contrast

On white

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

On black

7.25
#CD74E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74E7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74E7#FFFFFF#000000##000000
##CD74E71.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E92EB
Deuteranopia (green-blind)
#799BE4
Tritanopia (blue-blind)
#CD85A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd74e7;
/* rgb */ color: rgb(205, 116, 231);
/* oklch */ color: oklch(70.1% 0.184 318.2);
Tailwind
colors: {
  custom: {
    50: '#de9fef',
    500: '#cd74e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd74e7;
$custom-light: #de9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74e7",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 286.435,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70051,
    "c": 0.18382,
    "h": 318.2
  },
  "luminance": 0.31239
}

Semantic roles & 50–950 ramp

primary
#CD74E7
secondary
#D2EDCA
accent
#D3133E
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD74E7

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

Preview Lab → · Contrast checker → · Palette generator →

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