#CD71EB#CD71EB

#CD71EB is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.193 H 317.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CD71EB
RGBrgb(205, 113, 235)
HSLhsl(285, 75%, 68%)
HSVhsv(285, 52%, 92%)
CMYKcmyk(12.8%, 51.9%, 0%, 7.8%)
CIE-LABlab(62.33, 55.15, -46.98)
CIE-LCHlch(62.33, 72.45, 319.57°)
OKLaboklab(69.83% 0.1415 -0.1307)
OKLCHoklch(69.83% 0.193 317.3)
XYZxyz(46.0752, 30.7891, 82.0970)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71EB #8FEB71
analogous
#9071EB #CD71EB #EB71CC
triadic
#CD71EB #EBCD71 #71EBCD
tetradic
#CD71EB #EB9071 #8FEB71 #71CCEB
square
#CD71EB #EB9071 #8FEB71 #71CCEB
split-complementary
#CD71EB #CCEB71 #71EB90
monochromatic
#9C1CC6 #BA3BE3 #CD71EB #E0A7F3 #F3DCFA

Accessibility & contrast

On white

2.93
#CD71EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CD71EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71EB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71EB#FFFFFF#000000##000000
##CD71EB1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#759AE8
Tritanopia (blue-blind)
#CC83A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd71eb;
/* rgb */ color: rgb(205, 113, 235);
/* oklch */ color: oklch(69.8% 0.193 317.3);
Tailwind
colors: {
  custom: {
    50: '#df9df2',
    500: '#cd71eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd71eb;
$custom-light: #df9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71eb",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 285.246,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69832,
    "c": 0.19259,
    "h": 317.3
  },
  "luminance": 0.30788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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