#CD71F7#CD71F7

#CD71F7 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.5% C 0.205 H 314.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CD71F7
RGBrgb(205, 113, 247)
HSLhsl(281, 89%, 71%)
HSVhsv(281, 54%, 97%)
CMYKcmyk(17%, 54.3%, 0%, 3.1%)
CIE-LABlab(62.93, 57.58, -52.67)
CIE-LCHlch(62.93, 78.03, 317.55°)
OKLaboklab(70.47% 0.1424 -0.1472)
OKLCHoklch(70.47% 0.205 314.1)
XYZxyz(47.8677, 31.5061, 91.5374)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71F7 #9BF771
analogous
#8A71F7 #CD71F7 #F771DE
triadic
#CD71F7 #F7CD71 #71F7CD
tetradic
#CD71F7 #F78A71 #9BF771 #71DEF7
square
#CD71F7 #F78A71 #9BF771 #71DEF7
split-complementary
#CD71F7 #DEF771 #71F78A
monochromatic
#9E0DE1 #B937F4 #CD71F7 #E1ABFA #F5E2FD

Accessibility & contrast

On white

2.88
#CD71F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CD71F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71F7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71F7#FFFFFF#000000##000000
##CD71F71.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#6D9BF4
Tritanopia (blue-blind)
#CA87AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd71f7;
/* rgb */ color: rgb(205, 113, 247);
/* oklch */ color: oklch(70.5% 0.205 314.1);
Tailwind
colors: {
  custom: {
    50: '#df9dfa',
    500: '#cd71f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd71f7;
$custom-light: #df9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71f7",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 281.194,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70473,
    "c": 0.20485,
    "h": 314.1
  },
  "luminance": 0.31505
}

Semantic roles & 50–950 ramp

primary
#CD71F7
secondary
#DBF4D0
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F17
muted
#847E85

Preview Lab

Preview with #CD71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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