#CD74E3#CD74E3

#CD74E3 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.9% C 0.180 H 319.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CD74E3
RGBrgb(205, 116, 227)
HSLhsl(288, 66%, 67%)
HSVhsv(288, 49%, 89%)
CMYKcmyk(9.7%, 48.9%, 0%, 11%)
CIE-LABlab(62.52, 52.06, -42.23)
CIE-LCHlch(62.52, 67.03, 320.95°)
OKLaboklab(69.85% 0.1365 -0.1169)
OKLCHoklch(69.85% 0.18 319.4)
XYZxyz(45.2856, 31.0177, 76.2597)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD74E3 #8AE374
analogous
#9674E3 #CD74E3 #E374C2
triadic
#CD74E3 #E3CD74 #74E3CD
tetradic
#CD74E3 #E39674 #8AE374 #74C2E3
square
#CD74E3 #E39674 #8AE374 #74C2E3
split-complementary
#CD74E3 #C2E374 #74E396
monochromatic
#9B25B8 #BB41D9 #CD74E3 #DFA7ED #F2DAF8

Accessibility & contrast

On white

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

On black

7.20
#CD74E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD74E3
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD74E3#FFFFFF#000000##000000
##CD74E31.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6191E7
Deuteranopia (green-blind)
#7B9AE0
Tritanopia (blue-blind)
#CE83A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd74e3;
/* rgb */ color: rgb(205, 116, 227);
/* oklch */ color: oklch(69.9% 0.180 319.4);
Tailwind
colors: {
  custom: {
    50: '#de9fec',
    500: '#cd74e3',
    950: '#000000',
  },
}
SCSS
$custom: #cd74e3;
$custom-light: #de9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd74e3",
  "rgb": {
    "r": 205,
    "g": 116,
    "b": 227
  },
  "hsl": {
    "h": 288.108,
    "s": 66.467,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69851,
    "c": 0.17975,
    "h": 319.4
  },
  "luminance": 0.31016
}

Semantic roles & 50–950 ramp

primary
#CD74E3
secondary
#CFEBC8
accent
#CE173B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD74E3

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

Preview Lab → · Contrast checker → · Palette generator →

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