#CD71F5#CD71F5

#CD71F5 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.4% C 0.203 H 314.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CD71F5
RGBrgb(205, 113, 245)
HSLhsl(282, 87%, 70%)
HSVhsv(282, 54%, 96%)
CMYKcmyk(16.3%, 53.9%, 0%, 3.9%)
CIE-LABlab(62.83, 57.17, -51.73)
CIE-LCHlch(62.83, 77.10, 317.86°)
OKLaboklab(70.36% 0.1423 -0.1445)
OKLCHoklch(70.36% 0.203 314.6)
XYZxyz(47.5607, 31.3833, 89.9207)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71F5 #99F571
analogous
#8B71F5 #CD71F5 #F571DB
triadic
#CD71F5 #F5CD71 #71F5CD
tetradic
#CD71F5 #F58B71 #99F571 #71DBF5
square
#CD71F5 #F58B71 #99F571 #71DBF5
split-complementary
#CD71F5 #DBF571 #71F58B
monochromatic
#9E10DC #B938F1 #CD71F5 #E1AAF9 #F5E2FD

Accessibility & contrast

On white

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

On black

7.28
#CD71F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71F5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71F5#FFFFFF#000000##000000
##CD71F51.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#6F9AF2
Tritanopia (blue-blind)
#CA87A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd71f5;
/* rgb */ color: rgb(205, 113, 245);
/* oklch */ color: oklch(70.4% 0.203 314.6);
Tailwind
colors: {
  custom: {
    50: '#df9df9',
    500: '#cd71f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd71f5;
$custom-light: #df9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71f5",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 281.818,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70364,
    "c": 0.2028,
    "h": 314.6
  },
  "luminance": 0.31382
}

Semantic roles & 50–950 ramp

primary
#CD71F5
secondary
#DAF3CF
accent
#E30246
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F17
muted
#847E85

Preview Lab

Preview with #CD71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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