#CD71E4#CD71E4

#CD71E4 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.186 H 319.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CD71E4
RGBrgb(205, 113, 228)
HSLhsl(288, 68%, 67%)
HSVhsv(288, 50%, 89%)
CMYKcmyk(10.1%, 50.4%, 0%, 10.6%)
CIE-LABlab(61.99, 53.77, -43.62)
CIE-LCHlch(61.99, 69.24, 320.95°)
OKLaboklab(69.47% 0.1407 -0.1209)
OKLCHoklch(69.47% 0.186 319.3)
XYZxyz(45.0838, 30.3925, 76.8753)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71E4 #88E471
analogous
#9471E4 #CD71E4 #E471C2
triadic
#CD71E4 #E4CD71 #71E4CD
tetradic
#CD71E4 #E49471 #88E471 #71C2E4
square
#CD71E4 #E49471 #88E471 #71C2E4
split-complementary
#CD71E4 #C2E471 #71E494
monochromatic
#9A23B8 #BB3EDA #CD71E4 #DFA4EE #F1D8F8

Accessibility & contrast

On white

2.97
#CD71E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CD71E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71E4
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71E4#FFFFFF#000000##000000
##CD71E41.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE8
Deuteranopia (green-blind)
#7899E1
Tritanopia (blue-blind)
#CE81A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd71e4;
/* rgb */ color: rgb(205, 113, 228);
/* oklch */ color: oklch(69.5% 0.186 319.3);
Tailwind
colors: {
  custom: {
    50: '#de9ded',
    500: '#cd71e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd71e4;
$custom-light: #de9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71e4",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 288,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69473,
    "c": 0.18555,
    "h": 319.3
  },
  "luminance": 0.30391
}

Semantic roles & 50–950 ramp

primary
#CD71E4
secondary
#CDEBC6
accent
#D0163B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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