#CD71FD#CD71FD

#CD71FD is a light, highly saturated violet. Relative luminance 0.319; OKLCH L 70.8% C 0.211 H 312.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CD71FD
RGBrgb(205, 113, 253)
HSLhsl(279, 97%, 72%)
HSVhsv(279, 55%, 99%)
CMYKcmyk(19%, 55.3%, 0%, 0.8%)
CIE-LABlab(63.25, 58.82, -55.48)
CIE-LCHlch(63.25, 80.85, 316.68°)
OKLaboklab(70.8% 0.1428 -0.1554)
OKLCHoklch(70.8% 0.211 312.6)
XYZxyz(48.8085, 31.8824, 96.4922)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71FD #A1FD71
analogous
#8771FD #CD71FD #FD71E7
triadic
#CD71FD #FDCD71 #71FDCD
tetradic
#CD71FD #FD8771 #A1FD71 #71E7FD
square
#CD71FD #FD8771 #A1FD71 #71E7FD
split-complementary
#CD71FD #E7FD71 #71FD87
monochromatic
#9F03F0 #B835FC #CD71FD #E2ADFE #F4E1FF

Accessibility & contrast

On white

2.85
#CD71FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CD71FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71FD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71FD#FFFFFF#000000##000000
##CD71FD1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd71fd;
/* rgb */ color: rgb(205, 113, 253);
/* oklch */ color: oklch(70.8% 0.211 312.6);
Tailwind
colors: {
  custom: {
    50: '#df9dff',
    500: '#cd71fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd71fd;
$custom-light: #df9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71fd",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 279.429,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70804,
    "c": 0.21103,
    "h": 312.6
  },
  "luminance": 0.31881
}

Semantic roles & 50–950 ramp

primary
#CD71FD
secondary
#DFF7D3
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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