#CD71F2#CD71F2

#CD71F2 is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.2% C 0.200 H 315.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CD71F2
RGBrgb(205, 113, 242)
HSLhsl(283, 83%, 70%)
HSVhsv(283, 53%, 95%)
CMYKcmyk(15.3%, 53.3%, 0%, 5.1%)
CIE-LABlab(62.68, 56.56, -50.31)
CIE-LCHlch(62.68, 75.70, 318.35°)
OKLaboklab(70.2% 0.1421 -0.1403)
OKLCHoklch(70.2% 0.2 315.4)
XYZxyz(47.1065, 31.2016, 87.5283)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71F2 #96F271
analogous
#8D71F2 #CD71F2 #F271D6
triadic
#CD71F2 #F2CD71 #71F2CD
tetradic
#CD71F2 #F28D71 #96F271 #71D6F2
square
#CD71F2 #F28D71 #96F271 #71D6F2
split-complementary
#CD71F2 #D6F271 #71F28D
monochromatic
#9E14D5 #B939ED #CD71F2 #E1A9F7 #F4E1FC

Accessibility & contrast

On white

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

On black

7.24
#CD71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71F2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71F2#FFFFFF#000000##000000
##CD71F21.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#719AEF
Tritanopia (blue-blind)
#CB86A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd71f2;
/* rgb */ color: rgb(205, 113, 242);
/* oklch */ color: oklch(70.2% 0.200 315.4);
Tailwind
colors: {
  custom: {
    50: '#df9df7',
    500: '#cd71f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd71f2;
$custom-light: #df9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71f2",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 282.791,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70202,
    "c": 0.19972,
    "h": 315.4
  },
  "luminance": 0.312
}

Semantic roles & 50–950 ramp

primary
#CD71F2
secondary
#D8F2CD
accent
#E00644
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F17
muted
#847E85

Preview Lab

Preview with #CD71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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