#CD71ED#CD71ED

#CD71ED is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.9% C 0.195 H 316.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CD71ED
RGBrgb(205, 113, 237)
HSLhsl(285, 78%, 69%)
HSVhsv(285, 52%, 93%)
CMYKcmyk(13.5%, 52.3%, 0%, 7.1%)
CIE-LABlab(62.43, 55.55, -47.94)
CIE-LCHlch(62.43, 73.38, 319.21°)
OKLaboklab(69.94% 0.1417 -0.1335)
OKLCHoklch(69.94% 0.195 316.7)
XYZxyz(46.3658, 30.9054, 83.6273)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71ED #91ED71
analogous
#8F71ED #CD71ED #ED71CF
triadic
#CD71ED #EDCD71 #71EDCD
tetradic
#CD71ED #ED8F71 #91ED71 #71CFED
square
#CD71ED #ED8F71 #91ED71 #71CFED
split-complementary
#CD71ED #CFED71 #71ED8F
monochromatic
#9C1ACA #BA3BE6 #CD71ED #E0A7F4 #F3DEFB

Accessibility & contrast

On white

2.92
#CD71ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CD71ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71ED
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71ED#FFFFFF#000000##000000
##CD71ED1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#CC84A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd71ed;
/* rgb */ color: rgb(205, 113, 237);
/* oklch */ color: oklch(69.9% 0.195 316.7);
Tailwind
colors: {
  custom: {
    50: '#df9df3',
    500: '#cd71ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd71ed;
$custom-light: #df9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71ed",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 284.516,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69937,
    "c": 0.19462,
    "h": 316.7
  },
  "luminance": 0.30904
}

Semantic roles & 50–950 ramp

primary
#CD71ED
secondary
#D4EFCA
accent
#DA0C41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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