#CD71E5#CD71E5

#CD71E5 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.187 H 319.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CD71E5
RGBrgb(205, 113, 229)
HSLhsl(288, 69%, 67%)
HSVhsv(288, 51%, 90%)
CMYKcmyk(10.5%, 50.7%, 0%, 10.2%)
CIE-LABlab(62.04, 53.97, -44.10)
CIE-LCHlch(62.04, 69.70, 320.74°)
OKLaboklab(69.52% 0.1408 -0.1223)
OKLCHoklch(69.52% 0.187 319)
XYZxyz(45.2230, 30.4482, 77.6085)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71E5 #89E571
analogous
#9371E5 #CD71E5 #E571C3
triadic
#CD71E5 #E5CD71 #71E5CD
tetradic
#CD71E5 #E59371 #89E571 #71C3E5
square
#CD71E5 #E59371 #89E571 #71C3E5
split-complementary
#CD71E5 #C3E571 #71E593
monochromatic
#9A22BA #BB3DDC #CD71E5 #DFA5EE #F1D8F8

Accessibility & contrast

On white

2.96
#CD71E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CD71E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71E5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71E5#FFFFFF#000000##000000
##CD71E51.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90E9
Deuteranopia (green-blind)
#7899E2
Tritanopia (blue-blind)
#CD82A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd71e5;
/* rgb */ color: rgb(205, 113, 229);
/* oklch */ color: oklch(69.5% 0.187 319.0);
Tailwind
colors: {
  custom: {
    50: '#de9ded',
    500: '#cd71e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd71e5;
$custom-light: #de9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71e5",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 287.586,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69524,
    "c": 0.18655,
    "h": 319
  },
  "luminance": 0.30447
}

Semantic roles & 50–950 ramp

primary
#CD71E5
secondary
#CEEBC6
accent
#D1143B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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