#CD71F4#CD71F4

#CD71F4 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.3% C 0.202 H 314.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CD71F4
RGBrgb(205, 113, 244)
HSLhsl(282, 86%, 70%)
HSVhsv(282, 54%, 96%)
CMYKcmyk(16%, 53.7%, 0%, 4.3%)
CIE-LABlab(62.78, 56.97, -51.26)
CIE-LCHlch(62.78, 76.63, 318.02°)
OKLaboklab(70.31% 0.1422 -0.1431)
OKLCHoklch(70.31% 0.202 314.8)
XYZxyz(47.4085, 31.3224, 89.1189)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71F4 #98F471
analogous
#8B71F4 #CD71F4 #F471DA
triadic
#CD71F4 #F4CD71 #71F4CD
tetradic
#CD71F4 #F48B71 #98F471 #71DAF4
square
#CD71F4 #F48B71 #98F471 #71DAF4
split-complementary
#CD71F4 #DAF471 #71F48B
monochromatic
#9E11DA #B938F0 #CD71F4 #E1AAF8 #F5E3FD

Accessibility & contrast

On white

2.89
#CD71F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CD71F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71F4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71F4#FFFFFF#000000##000000
##CD71F41.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F8
Deuteranopia (green-blind)
#6F9AF1
Tritanopia (blue-blind)
#CA86A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd71f4;
/* rgb */ color: rgb(205, 113, 244);
/* oklch */ color: oklch(70.3% 0.202 314.8);
Tailwind
colors: {
  custom: {
    50: '#df9df8',
    500: '#cd71f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd71f4;
$custom-light: #df9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71f4",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 282.137,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.7031,
    "c": 0.20177,
    "h": 314.8
  },
  "luminance": 0.31321
}

Semantic roles & 50–950 ramp

primary
#CD71F4
secondary
#D9F3CE
accent
#E20346
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F17
muted
#847E85

Preview Lab

Preview with #CD71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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