#CD71FB#CD71FB

#CD71FB is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 70.7% C 0.209 H 313.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CD71FB
RGBrgb(205, 113, 251)
HSLhsl(280, 95%, 71%)
HSVhsv(280, 55%, 98%)
CMYKcmyk(18.3%, 55%, 0%, 1.6%)
CIE-LABlab(63.14, 58.40, -54.54)
CIE-LCHlch(63.14, 79.91, 316.96°)
OKLaboklab(70.69% 0.1427 -0.1527)
OKLCHoklch(70.69% 0.209 313.1)
XYZxyz(48.4916, 31.7557, 94.8231)
Luminance0.3175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71FB #9FFB71
analogous
#8871FB #CD71FB #FB71E4
triadic
#CD71FB #FBCD71 #71FBCD
tetradic
#CD71FB #FB8871 #9FFB71 #71E4FB
square
#CD71FB #FB8871 #9FFB71 #71E4FB
split-complementary
#CD71FB #E4FB71 #71FB88
monochromatic
#9F07EB #B835F9 #CD71FB #E2ADFD #F5E1FE

Accessibility & contrast

On white

2.86
#CD71FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CD71FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71FB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71FB#FFFFFF#000000##000000
##CD71FB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#6B9BF8
Tritanopia (blue-blind)
#C989AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd71fb;
/* rgb */ color: rgb(205, 113, 251);
/* oklch */ color: oklch(70.7% 0.209 313.1);
Tailwind
colors: {
  custom: {
    50: '#df9dfd',
    500: '#cd71fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd71fb;
$custom-light: #df9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71fb",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 280,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70692,
    "c": 0.20897,
    "h": 313.1
  },
  "luminance": 0.31754
}

Semantic roles & 50–950 ramp

primary
#CD71FB
secondary
#DEF6D2
accent
#E6004C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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