#CD71E7#CD71E7

#CD71E7 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.6% C 0.189 H 318.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CD71E7
RGBrgb(205, 113, 231)
HSLhsl(287, 71%, 67%)
HSVhsv(287, 51%, 91%)
CMYKcmyk(11.3%, 51.1%, 0%, 9.4%)
CIE-LABlab(62.13, 54.36, -45.07)
CIE-LCHlch(62.13, 70.61, 320.34°)
OKLaboklab(69.63% 0.1411 -0.1251)
OKLCHoklch(69.63% 0.189 318.4)
XYZxyz(45.5038, 30.5606, 79.0876)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71E7 #8BE771
analogous
#9271E7 #CD71E7 #E771C6
triadic
#CD71E7 #E7CD71 #71E7CD
tetradic
#CD71E7 #E79271 #8BE771 #71C6E7
square
#CD71E7 #E79271 #8BE771 #71C6E7
split-complementary
#CD71E7 #C6E771 #71E792
monochromatic
#9B20BE #BB3DDE #CD71E7 #DFA5F0 #F2DAF9

Accessibility & contrast

On white

2.95
#CD71E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CD71E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71E7
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71E7#FFFFFF#000000##000000
##CD71E71.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#7799E4
Tritanopia (blue-blind)
#CD82A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd71e7;
/* rgb */ color: rgb(205, 113, 231);
/* oklch */ color: oklch(69.6% 0.189 318.4);
Tailwind
colors: {
  custom: {
    50: '#de9def',
    500: '#cd71e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd71e7;
$custom-light: #de9def;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71e7",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 286.78,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69626,
    "c": 0.18855,
    "h": 318.4
  },
  "luminance": 0.30559
}

Semantic roles & 50–950 ramp

primary
#CD71E7
secondary
#D0ECC7
accent
#D3123D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD71E7

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

Preview Lab → · Contrast checker → · Palette generator →

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