#CD74E4#CD74E4

#CD74E4 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.9% C 0.181 H 319.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CD74E4
RGBrgb(205, 116, 228)
HSLhsl(288, 67%, 67%)
HSVhsv(288, 49%, 89%)
CMYKcmyk(10.1%, 49.1%, 0%, 10.6%)
CIE-LABlab(62.57, 52.26, -42.71)
CIE-LCHlch(62.57, 67.49, 320.74°)
OKLaboklab(69.9% 0.1367 -0.1183)
OKLCHoklch(69.9% 0.181 319.1)
XYZxyz(45.4240, 31.0730, 76.9887)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74E4 #8BE474
analogous
#9574E4 #CD74E4 #E474C3
triadic
#CD74E4 #E4CD74 #74E4CD
tetradic
#CD74E4 #E49574 #8BE474 #74C3E4
square
#CD74E4 #E49574 #8BE474 #74C3E4
split-complementary
#CD74E4 #C3E474 #74E495
monochromatic
#9B24BA #BB41DA #CD74E4 #DFA7EE #F2DAF8

Accessibility & contrast

On white

2.91
#CD74E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CD74E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74E4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74E4#FFFFFF#000000##000000
##CD74E41.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6091E8
Deuteranopia (green-blind)
#7B9AE1
Tritanopia (blue-blind)
#CE84A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd74e4;
/* rgb */ color: rgb(205, 116, 228);
/* oklch */ color: oklch(69.9% 0.181 319.1);
Tailwind
colors: {
  custom: {
    50: '#de9fed',
    500: '#cd74e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd74e4;
$custom-light: #de9fed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74e4",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 287.679,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69901,
    "c": 0.18077,
    "h": 319.1
  },
  "luminance": 0.31071
}

Semantic roles & 50–950 ramp

primary
#CD74E4
secondary
#D0EBC8
accent
#CF163C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD74E4

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

Preview Lab → · Contrast checker → · Palette generator →

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