#CD71EF#CD71EF

#CD71EF is a light, vivid purple. Relative luminance 0.310; OKLCH L 70.0% C 0.197 H 316.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CD71EF
RGBrgb(205, 113, 239)
HSLhsl(284, 80%, 69%)
HSVhsv(284, 53%, 94%)
CMYKcmyk(14.2%, 52.7%, 0%, 6.3%)
CIE-LABlab(62.53, 55.95, -48.89)
CIE-LCHlch(62.53, 74.30, 318.85°)
OKLaboklab(70.04% 0.1418 -0.1362)
OKLCHoklch(70.04% 0.197 316.2)
XYZxyz(46.6596, 31.0229, 85.1748)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71EF #93EF71
analogous
#8E71EF #CD71EF #EF71D2
triadic
#CD71EF #EFCD71 #71EFCD
tetradic
#CD71EF #EF8E71 #93EF71 #71D2EF
square
#CD71EF #EF8E71 #93EF71 #71D2EF
split-complementary
#CD71EF #D2EF71 #71EF8E
monochromatic
#9D17CE #BA3AE9 #CD71EF #E0A8F5 #F4DFFB

Accessibility & contrast

On white

2.91
#CD71EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CD71EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71EF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71EF#FFFFFF#000000##000000
##CD71EF1.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#CB85A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd71ef;
/* rgb */ color: rgb(205, 113, 239);
/* oklch */ color: oklch(70.0% 0.197 316.2);
Tailwind
colors: {
  custom: {
    50: '#df9df5',
    500: '#cd71ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd71ef;
$custom-light: #df9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71ef",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 283.81,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70042,
    "c": 0.19666,
    "h": 316.2
  },
  "luminance": 0.31021
}

Semantic roles & 50–950 ramp

primary
#CD71EF
secondary
#D5F0CB
accent
#DC0942
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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