#CD71E1#CD71E1

#CD71E1 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.183 H 320.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CD71E1
RGBrgb(205, 113, 225)
HSLhsl(289, 65%, 66%)
HSVhsv(289, 50%, 88%)
CMYKcmyk(8.9%, 49.8%, 0%, 11.8%)
CIE-LABlab(61.85, 53.19, -42.17)
CIE-LCHlch(61.85, 67.88, 321.59°)
OKLaboklab(69.32% 0.1404 -0.1167)
OKLCHoklch(69.32% 0.183 320.2)
XYZxyz(44.6709, 30.2274, 74.7010)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71E1 #85E171
analogous
#9571E1 #CD71E1 #E171BD
triadic
#CD71E1 #E1CD71 #71E1CD
tetradic
#CD71E1 #E19571 #85E171 #71BDE1
square
#CD71E1 #E19571 #85E171 #71BDE1
split-complementary
#CD71E1 #BDE171 #71E195
monochromatic
#9926B2 #BB3ED6 #CD71E1 #DFA4EC #F1D6F6

Accessibility & contrast

On white

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

On black

7.05
#CD71E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71E1
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71E1#FFFFFF#000000##000000
##CD71E11.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#7A99DE
Tritanopia (blue-blind)
#CE809F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd71e1;
/* rgb */ color: rgb(205, 113, 225);
/* oklch */ color: oklch(69.3% 0.183 320.2);
Tailwind
colors: {
  custom: {
    50: '#de9deb',
    500: '#cd71e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd71e1;
$custom-light: #de9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71e1",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 289.286,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69322,
    "c": 0.18256,
    "h": 320.2
  },
  "luminance": 0.30226
}

Semantic roles & 50–950 ramp

primary
#CD71E1
secondary
#CBE9C5
accent
#CD1939
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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