#CD71E6#CD71E6

#CD71E6 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.6% C 0.188 H 318.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CD71E6
RGBrgb(205, 113, 230)
HSLhsl(287, 70%, 67%)
HSVhsv(287, 51%, 90%)
CMYKcmyk(10.9%, 50.9%, 0%, 9.8%)
CIE-LABlab(62.09, 54.16, -44.59)
CIE-LCHlch(62.09, 70.15, 320.54°)
OKLaboklab(69.58% 0.141 -0.1237)
OKLCHoklch(69.58% 0.188 318.7)
XYZxyz(45.3630, 30.5042, 78.3459)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71E6 #8AE671
analogous
#9271E6 #CD71E6 #E671C5
triadic
#CD71E6 #E6CD71 #71E6CD
tetradic
#CD71E6 #E69271 #8AE671 #71C5E6
square
#CD71E6 #E69271 #8AE671 #71C5E6
split-complementary
#CD71E6 #C5E671 #71E692
monochromatic
#9B21BC #BB3DDD #CD71E6 #DFA5EF #F2D9F8

Accessibility & contrast

On white

2.96
#CD71E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CD71E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71E6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71E6#FFFFFF#000000##000000
##CD71E61.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EA
Deuteranopia (green-blind)
#7799E3
Tritanopia (blue-blind)
#CD82A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd71e6;
/* rgb */ color: rgb(205, 113, 230);
/* oklch */ color: oklch(69.6% 0.188 318.7);
Tailwind
colors: {
  custom: {
    50: '#de9dee',
    500: '#cd71e6',
    950: '#000000',
  },
}
SCSS
$custom: #cd71e6;
$custom-light: #de9dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71e6",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 287.179,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69575,
    "c": 0.18755,
    "h": 318.7
  },
  "luminance": 0.30503
}

Semantic roles & 50–950 ramp

primary
#CD71E6
secondary
#CFECC7
accent
#D2133C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD71E6

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

Preview Lab → · Contrast checker → · Palette generator →

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