#CD74ED#CD74ED

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

Color values

HEX#CD74ED
RGBrgb(205, 116, 237)
HSLhsl(284, 77%, 69%)
HSVhsv(284, 51%, 93%)
CMYKcmyk(13.5%, 51.1%, 0%, 7.1%)
CIE-LABlab(63.00, 54.05, -47.04)
CIE-LCHlch(63.00, 71.65, 318.97°)
OKLaboklab(70.36% 0.1377 -0.1308)
OKLCHoklch(70.36% 0.19 316.5)
XYZxyz(46.7060, 31.5858, 83.7407)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74ED #94ED74
analogous
#9174ED #CD74ED #ED74D1
triadic
#CD74ED #EDCD74 #74EDCD
tetradic
#CD74ED #ED9174 #94ED74 #74D1ED
square
#CD74ED #ED9174 #94ED74 #74D1ED
split-complementary
#CD74ED #D1ED74 #74ED91
monochromatic
#9D1ACC #BA3EE6 #CD74ED #E0AAF4 #F4E0FB

Accessibility & contrast

On white

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

On black

7.32
#CD74ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74ED
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74ED#FFFFFF#000000##000000
##CD74ED1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F1
Deuteranopia (green-blind)
#769BEA
Tritanopia (blue-blind)
#CC86A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd74ed;
/* rgb */ color: rgb(205, 116, 237);
/* oklch */ color: oklch(70.4% 0.190 316.5);
Tailwind
colors: {
  custom: {
    50: '#df9ff3',
    500: '#cd74ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd74ed;
$custom-light: #df9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74ed",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 284.132,
    "s": 77.07,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70359,
    "c": 0.18996,
    "h": 316.5
  },
  "luminance": 0.31584
}

Semantic roles & 50–950 ramp

primary
#CD74ED
secondary
#D6F0CD
accent
#D90C42
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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