#CD71FE#CD71FE

#CD71FE is a light, highly saturated violet. Relative luminance 0.319; OKLCH L 70.9% C 0.212 H 312.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CD71FE
RGBrgb(205, 113, 254)
HSLhsl(279, 99%, 72%)
HSVhsv(279, 56%, 100%)
CMYKcmyk(19.3%, 55.5%, 0%, 0.4%)
CIE-LABlab(63.30, 59.03, -55.94)
CIE-LCHlch(63.30, 81.32, 316.54°)
OKLaboklab(70.86% 0.1428 -0.1568)
OKLCHoklch(70.86% 0.212 312.3)
XYZxyz(48.9682, 31.9463, 97.3334)
Luminance0.3195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71FE #A2FE71
analogous
#8771FE #CD71FE #FE71E8
triadic
#CD71FE #FECD71 #71FECD
tetradic
#CD71FE #FE8771 #A2FE71 #71E8FE
square
#CD71FE #FE8771 #A2FE71 #71E8FE
split-complementary
#CD71FE #E8FE71 #71FE87
monochromatic
#9F02F3 #B834FE #CD71FE #E2AEFE #F4E1FF

Accessibility & contrast

On white

2.84
#CD71FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CD71FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71FE
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71FE#FFFFFF#000000##000000
##CD71FE1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#C889AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd71fe;
/* rgb */ color: rgb(205, 113, 254);
/* oklch */ color: oklch(70.9% 0.212 312.3);
Tailwind
colors: {
  custom: {
    50: '#df9dff',
    500: '#cd71fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd71fe;
$custom-light: #df9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71fe",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 279.149,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7086,
    "c": 0.21206,
    "h": 312.3
  },
  "luminance": 0.31945
}

Semantic roles & 50–950 ramp

primary
#CD71FE
secondary
#E0F7D4
accent
#E60050
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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