#CD71E8#CD71E8

#CD71E8 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.7% C 0.190 H 318.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CD71E8
RGBrgb(205, 113, 232)
HSLhsl(286, 72%, 68%)
HSVhsv(286, 51%, 91%)
CMYKcmyk(11.6%, 51.3%, 0%, 9%)
CIE-LABlab(62.18, 54.56, -45.55)
CIE-LCHlch(62.18, 71.07, 320.14°)
OKLaboklab(69.68% 0.1412 -0.1265)
OKLCHoklch(69.68% 0.19 318.1)
XYZxyz(45.6455, 30.6172, 79.8336)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71E8 #8CE871
analogous
#9271E8 #CD71E8 #E871C7
triadic
#CD71E8 #E8CD71 #71E8CD
tetradic
#CD71E8 #E89271 #8CE871 #71C7E8
square
#CD71E8 #E89271 #8CE871 #71C7E8
split-complementary
#CD71E8 #C7E871 #71E892
monochromatic
#9B1FC0 #BA3CDF #CD71E8 #E0A6F1 #F2DAF9

Accessibility & contrast

On white

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

On black

7.12
#CD71E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71E8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71E8#FFFFFF#000000##000000
##CD71E81.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EC
Deuteranopia (green-blind)
#7699E5
Tritanopia (blue-blind)
#CD82A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd71e8;
/* rgb */ color: rgb(205, 113, 232);
/* oklch */ color: oklch(69.7% 0.190 318.1);
Tailwind
colors: {
  custom: {
    50: '#df9df0',
    500: '#cd71e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd71e8;
$custom-light: #df9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71e8",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 286.387,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69677,
    "c": 0.18957,
    "h": 318.1
  },
  "luminance": 0.30616
}

Semantic roles & 50–950 ramp

primary
#CD71E8
secondary
#D0EDC8
accent
#D4113E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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