#CD71F8#CD71F8

#CD71F8 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.5% C 0.206 H 313.8°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CD71F8
RGBrgb(205, 113, 248)
HSLhsl(281, 91%, 71%)
HSVhsv(281, 54%, 97%)
CMYKcmyk(17.3%, 54.4%, 0%, 2.7%)
CIE-LABlab(62.98, 57.78, -53.14)
CIE-LCHlch(62.98, 78.50, 317.40°)
OKLaboklab(70.53% 0.1425 -0.1486)
OKLCHoklch(70.53% 0.206 313.8)
XYZxyz(48.0224, 31.5680, 92.3523)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71F8 #9CF871
analogous
#8971F8 #CD71F8 #F871DF
triadic
#CD71F8 #F8CD71 #71F8CD
tetradic
#CD71F8 #F88971 #9CF871 #71DFF8
square
#CD71F8 #F88971 #9CF871 #71DFF8
split-complementary
#CD71F8 #DFF871 #71F889
monochromatic
#9F0BE3 #B837F5 #CD71F8 #E2ABFB #F5E2FE

Accessibility & contrast

On white

2.87
#CD71F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CD71F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71F8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71F8#FFFFFF#000000##000000
##CD71F81.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#C988AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd71f8;
/* rgb */ color: rgb(205, 113, 248);
/* oklch */ color: oklch(70.5% 0.206 313.8);
Tailwind
colors: {
  custom: {
    50: '#df9dfb',
    500: '#cd71f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd71f8;
$custom-light: #df9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71f8",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 280.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70527,
    "c": 0.20588,
    "h": 313.8
  },
  "luminance": 0.31567
}

Semantic roles & 50–950 ramp

primary
#CD71F8
secondary
#DCF5D0
accent
#E60049
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F17
muted
#847E85

Preview Lab

Preview with #CD71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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