#CD71F1#CD71F1

#CD71F1 is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.1% C 0.199 H 315.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CD71F1
RGBrgb(205, 113, 241)
HSLhsl(283, 82%, 69%)
HSVhsv(283, 53%, 95%)
CMYKcmyk(14.9%, 53.1%, 0%, 5.5%)
CIE-LABlab(62.63, 56.36, -49.84)
CIE-LCHlch(62.63, 75.23, 318.51°)
OKLaboklab(70.15% 0.142 -0.139)
OKLCHoklch(70.15% 0.199 315.6)
XYZxyz(46.9567, 31.1417, 86.7394)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71F1 #95F171
analogous
#8D71F1 #CD71F1 #F171D5
triadic
#CD71F1 #F1CD71 #71F1CD
tetradic
#CD71F1 #F18D71 #95F171 #71D5F1
square
#CD71F1 #F18D71 #95F171 #71D5F1
split-complementary
#CD71F1 #D5F171 #71F18D
monochromatic
#9D15D3 #B939EC #CD71F1 #E1A9F6 #F4E0FC

Accessibility & contrast

On white

2.91
#CD71F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CD71F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71F1
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71F1#FFFFFF#000000##000000
##CD71F11.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F5
Deuteranopia (green-blind)
#719AEE
Tritanopia (blue-blind)
#CB85A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd71f1;
/* rgb */ color: rgb(205, 113, 241);
/* oklch */ color: oklch(70.1% 0.199 315.6);
Tailwind
colors: {
  custom: {
    50: '#df9df6',
    500: '#cd71f1',
    950: '#000000',
  },
}
SCSS
$custom: #cd71f1;
$custom-light: #df9df6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71f1",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 283.125,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70149,
    "c": 0.1987,
    "h": 315.6
  },
  "luminance": 0.3114
}

Semantic roles & 50–950 ramp

primary
#CD71F1
secondary
#D7F1CC
accent
#DE0744
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD71F1

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

Preview Lab → · Contrast checker → · Palette generator →

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