#CD74E1#CD74E1

#CD74E1 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.8% C 0.178 H 320.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CD74E1
RGBrgb(205, 116, 225)
HSLhsl(289, 64%, 67%)
HSVhsv(289, 48%, 88%)
CMYKcmyk(8.9%, 48.4%, 0%, 11.8%)
CIE-LABlab(62.43, 51.67, -41.26)
CIE-LCHlch(62.43, 66.12, 321.39°)
OKLaboklab(69.75% 0.1363 -0.1141)
OKLCHoklch(69.75% 0.178 320)
XYZxyz(45.0112, 30.9079, 74.8144)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74E1 #88E174
analogous
#9774E1 #CD74E1 #E174BF
triadic
#CD74E1 #E1CD74 #74E1CD
tetradic
#CD74E1 #E19774 #88E174 #74BFE1
square
#CD74E1 #E19774 #88E174 #74BFE1
split-complementary
#CD74E1 #BFE174 #74E197
monochromatic
#9A27B4 #BB42D6 #CD74E1 #DFA6EC #F1D9F7

Accessibility & contrast

On white

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

On black

7.18
#CD74E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74E1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74E1#FFFFFF#000000##000000
##CD74E11.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6291E5
Deuteranopia (green-blind)
#7C9ADE
Tritanopia (blue-blind)
#CE83A0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd74e1;
/* rgb */ color: rgb(205, 116, 225);
/* oklch */ color: oklch(69.8% 0.178 320.0);
Tailwind
colors: {
  custom: {
    50: '#de9feb',
    500: '#cd74e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd74e1;
$custom-light: #de9feb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74e1",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 288.991,
    "s": 64.497,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69752,
    "c": 0.17774,
    "h": 320
  },
  "luminance": 0.30906
}

Semantic roles & 50–950 ramp

primary
#CD74E1
secondary
#CDEAC7
accent
#CC193A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD74E1

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

Preview Lab → · Contrast checker → · Palette generator →

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