#CD71EA#CD71EA

#CD71EA is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.8% C 0.192 H 317.6°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CD71EA
RGBrgb(205, 113, 234)
HSLhsl(286, 74%, 68%)
HSVhsv(286, 52%, 92%)
CMYKcmyk(12.4%, 51.7%, 0%, 8.2%)
CIE-LABlab(62.28, 54.95, -46.51)
CIE-LCHlch(62.28, 71.99, 319.76°)
OKLaboklab(69.78% 0.1414 -0.1293)
OKLCHoklch(69.78% 0.192 317.6)
XYZxyz(45.9312, 30.7315, 81.3382)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71EA #8EEA71
analogous
#9071EA #CD71EA #EA71CA
triadic
#CD71EA #EACD71 #71EACD
tetradic
#CD71EA #EA9071 #8EEA71 #71CAEA
square
#CD71EA #EA9071 #8EEA71 #71CAEA
split-complementary
#CD71EA #CAEA71 #71EA90
monochromatic
#9C1DC4 #BA3CE2 #CD71EA #E0A6F2 #F3DCFA

Accessibility & contrast

On white

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

On black

7.15
#CD71EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71EA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71EA#FFFFFF#000000##000000
##CD71EA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EE
Deuteranopia (green-blind)
#759AE7
Tritanopia (blue-blind)
#CC83A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd71ea;
/* rgb */ color: rgb(205, 113, 234);
/* oklch */ color: oklch(69.8% 0.192 317.6);
Tailwind
colors: {
  custom: {
    50: '#df9df1',
    500: '#cd71ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd71ea;
$custom-light: #df9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71ea",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 285.62,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69781,
    "c": 0.19158,
    "h": 317.6
  },
  "luminance": 0.3073
}

Semantic roles & 50–950 ramp

primary
#CD71EA
secondary
#D2EEC9
accent
#D60F3F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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