#CD71E9#CD71E9

#CD71E9 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.7% C 0.191 H 317.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CD71E9
RGBrgb(205, 113, 233)
HSLhsl(286, 73%, 68%)
HSVhsv(286, 52%, 91%)
CMYKcmyk(12%, 51.5%, 0%, 8.6%)
CIE-LABlab(62.23, 54.75, -46.03)
CIE-LCHlch(62.23, 71.53, 319.95°)
OKLaboklab(69.73% 0.1413 -0.1279)
OKLCHoklch(69.73% 0.191 317.8)
XYZxyz(45.7879, 30.6742, 80.5838)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71E9 #8DE971
analogous
#9171E9 #CD71E9 #E971C9
triadic
#CD71E9 #E9CD71 #71E9CD
tetradic
#CD71E9 #E99171 #8DE971 #71C9E9
square
#CD71E9 #E99171 #8DE971 #71C9E9
split-complementary
#CD71E9 #C9E971 #71E991
monochromatic
#9B1EC2 #BA3CE1 #CD71E9 #E0A6F1 #F2DBF9

Accessibility & contrast

On white

2.94
#CD71E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CD71E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71E9
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71E9#FFFFFF#000000##000000
##CD71E91.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990ED
Deuteranopia (green-blind)
#7699E6
Tritanopia (blue-blind)
#CD83A3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd71e9;
/* rgb */ color: rgb(205, 113, 233);
/* oklch */ color: oklch(69.7% 0.191 317.8);
Tailwind
colors: {
  custom: {
    50: '#df9df0',
    500: '#cd71e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd71e9;
$custom-light: #df9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71e9",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 286,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69729,
    "c": 0.19057,
    "h": 317.8
  },
  "luminance": 0.30673
}

Semantic roles & 50–950 ramp

primary
#CD71E9
secondary
#D1EDC8
accent
#D5103E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD71E9

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

Preview Lab → · Contrast checker → · Palette generator →

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