#CD71F3#CD71F3

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

Color values

HEX#CD71F3
RGBrgb(205, 113, 243)
HSLhsl(282, 84%, 70%)
HSVhsv(282, 53%, 95%)
CMYKcmyk(15.6%, 53.5%, 0%, 4.7%)
CIE-LABlab(62.73, 56.76, -50.78)
CIE-LCHlch(62.73, 76.16, 318.18°)
OKLaboklab(70.26% 0.1422 -0.1417)
OKLCHoklch(70.26% 0.201 315.1)
XYZxyz(47.2571, 31.2619, 88.3214)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71F3 #97F371
analogous
#8C71F3 #CD71F3 #F371D8
triadic
#CD71F3 #F3CD71 #71F3CD
tetradic
#CD71F3 #F38C71 #97F371 #71D8F3
square
#CD71F3 #F38C71 #97F371 #71D8F3
split-complementary
#CD71F3 #D8F371 #71F38C
monochromatic
#9E12D7 #B939EE #CD71F3 #E1A9F8 #F5E2FD

Accessibility & contrast

On white

2.90
#CD71F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CD71F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71F3
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71F3#FFFFFF#000000##000000
##CD71F31.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F7
Deuteranopia (green-blind)
#709AF0
Tritanopia (blue-blind)
#CA86A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd71f3;
/* rgb */ color: rgb(205, 113, 243);
/* oklch */ color: oklch(70.3% 0.201 315.1);
Tailwind
colors: {
  custom: {
    50: '#df9df7',
    500: '#cd71f3',
    950: '#000000',
  },
}
SCSS
$custom: #cd71f3;
$custom-light: #df9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71f3",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 282.462,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70256,
    "c": 0.20075,
    "h": 315.1
  },
  "luminance": 0.3126
}

Semantic roles & 50–950 ramp

primary
#CD71F3
secondary
#D8F2CE
accent
#E10545
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F17
muted
#847E85

Preview Lab

Preview with #CD71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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