#CD74E9#CD74E9

#CD74E9 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.2% C 0.186 H 317.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CD74E9
RGBrgb(205, 116, 233)
HSLhsl(286, 73%, 68%)
HSVhsv(286, 50%, 91%)
CMYKcmyk(12%, 50.2%, 0%, 8.6%)
CIE-LABlab(62.81, 53.25, -45.12)
CIE-LCHlch(62.81, 69.79, 319.72°)
OKLaboklab(70.15% 0.1373 -0.1253)
OKLCHoklch(70.15% 0.186 317.6)
XYZxyz(46.1281, 31.3547, 80.6972)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74E9 #90E974
analogous
#9274E9 #CD74E9 #E974CA
triadic
#CD74E9 #E9CD74 #74E9CD
tetradic
#CD74E9 #E99274 #90E974 #74CAE9
square
#CD74E9 #E99274 #90E974 #74CAE9
split-complementary
#CD74E9 #CAE974 #74E992
monochromatic
#9C1FC4 #BA3FE1 #CD74E9 #E0A9F1 #F3DEFA

Accessibility & contrast

On white

2.89
#CD74E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CD74E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74E9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74E9#FFFFFF#000000##000000
##CD74E91.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92ED
Deuteranopia (green-blind)
#789BE6
Tritanopia (blue-blind)
#CD85A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd74e9;
/* rgb */ color: rgb(205, 116, 233);
/* oklch */ color: oklch(70.2% 0.186 317.6);
Tailwind
colors: {
  custom: {
    50: '#de9ff0',
    500: '#cd74e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd74e9;
$custom-light: #de9ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74e9",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 285.641,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70153,
    "c": 0.18586,
    "h": 317.6
  },
  "luminance": 0.31353
}

Semantic roles & 50–950 ramp

primary
#CD74E9
secondary
#D3EECB
accent
#D51140
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD74E9

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

Preview Lab → · Contrast checker → · Palette generator →

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