#CD71E2#CD71E2

#CD71E2 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.184 H 319.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CD71E2
RGBrgb(205, 113, 226)
HSLhsl(289, 66%, 66%)
HSVhsv(289, 50%, 89%)
CMYKcmyk(9.3%, 50%, 0%, 11.4%)
CIE-LABlab(61.90, 53.38, -42.66)
CIE-LCHlch(61.90, 68.33, 321.37°)
OKLaboklab(69.37% 0.1405 -0.1181)
OKLCHoklch(69.37% 0.184 319.9)
XYZxyz(44.8077, 30.2821, 75.4215)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71E2 #86E271
analogous
#9571E2 #CD71E2 #E271BE
triadic
#CD71E2 #E2CD71 #71E2CD
tetradic
#CD71E2 #E29571 #86E271 #71BEE2
square
#CD71E2 #E29571 #86E271 #71BEE2
split-complementary
#CD71E2 #BEE271 #71E295
monochromatic
#9925B4 #BB3ED8 #CD71E2 #DFA4EC #F1D7F7

Accessibility & contrast

On white

2.98
#CD71E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CD71E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71E2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71E2#FFFFFF#000000##000000
##CD71E21.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE6
Deuteranopia (green-blind)
#7A99DF
Tritanopia (blue-blind)
#CE819F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd71e2;
/* rgb */ color: rgb(205, 113, 226);
/* oklch */ color: oklch(69.4% 0.184 319.9);
Tailwind
colors: {
  custom: {
    50: '#de9deb',
    500: '#cd71e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd71e2;
$custom-light: #de9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71e2",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 288.85,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69372,
    "c": 0.18355,
    "h": 319.9
  },
  "luminance": 0.3028
}

Semantic roles & 50–950 ramp

primary
#CD71E2
secondary
#CCEAC5
accent
#CE1839
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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