#CD74E2#CD74E2

#CD74E2 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.8% C 0.179 H 319.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CD74E2
RGBrgb(205, 116, 226)
HSLhsl(289, 65%, 67%)
HSVhsv(289, 49%, 89%)
CMYKcmyk(9.3%, 48.7%, 0%, 11.4%)
CIE-LABlab(62.48, 51.87, -41.75)
CIE-LCHlch(62.48, 66.58, 321.17°)
OKLaboklab(69.8% 0.1364 -0.1155)
OKLCHoklch(69.8% 0.179 319.7)
XYZxyz(45.1480, 30.9626, 75.5349)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74E2 #89E274
analogous
#9674E2 #CD74E2 #E274C0
triadic
#CD74E2 #E2CD74 #74E2CD
tetradic
#CD74E2 #E29674 #89E274 #74C0E2
square
#CD74E2 #E29674 #89E274 #74C0E2
split-complementary
#CD74E2 #C0E274 #74E296
monochromatic
#9A26B6 #BB41D7 #CD74E2 #DFA7ED #F1D9F7

Accessibility & contrast

On white

2.92
#CD74E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CD74E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74E2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74E2#FFFFFF#000000##000000
##CD74E21.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6291E6
Deuteranopia (green-blind)
#7C9ADF
Tritanopia (blue-blind)
#CE83A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd74e2;
/* rgb */ color: rgb(205, 116, 226);
/* oklch */ color: oklch(69.8% 0.179 319.7);
Tailwind
colors: {
  custom: {
    50: '#de9feb',
    500: '#cd74e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd74e2;
$custom-light: #de9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74e2",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 288.545,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69801,
    "c": 0.17875,
    "h": 319.7
  },
  "luminance": 0.30961
}

Semantic roles & 50–950 ramp

primary
#CD74E2
secondary
#CEEAC7
accent
#CD183B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD74E2

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

Preview Lab → · Contrast checker → · Palette generator →

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