#CD71FC#CD71FC

#CD71FC is a light, highly saturated violet. Relative luminance 0.318; OKLCH L 70.7% C 0.210 H 312.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CD71FC
RGBrgb(205, 113, 252)
HSLhsl(280, 96%, 72%)
HSVhsv(280, 55%, 99%)
CMYKcmyk(18.7%, 55.2%, 0%, 1.2%)
CIE-LABlab(63.19, 58.61, -55.01)
CIE-LCHlch(63.19, 80.38, 316.82°)
OKLaboklab(70.75% 0.1427 -0.154)
OKLCHoklch(70.75% 0.21 312.8)
XYZxyz(48.6496, 31.8189, 95.6555)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71FC #A0FC71
analogous
#8871FC #CD71FC #FC71E6
triadic
#CD71FC #FCCD71 #71FCCD
tetradic
#CD71FC #FC8871 #A0FC71 #71E6FC
square
#CD71FC #FC8871 #A0FC71 #71E6FC
split-complementary
#CD71FC #E6FC71 #71FC88
monochromatic
#9F05EE #B835FB #CD71FC #E2ADFD #F4E1FE

Accessibility & contrast

On white

2.85
#CD71FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CD71FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71FC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71FC#FFFFFF#000000##000000
##CD71FC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#6A9BF9
Tritanopia (blue-blind)
#C889AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd71fc;
/* rgb */ color: rgb(205, 113, 252);
/* oklch */ color: oklch(70.7% 0.210 312.8);
Tailwind
colors: {
  custom: {
    50: '#df9dfe',
    500: '#cd71fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd71fc;
$custom-light: #df9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71fc",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 279.712,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70748,
    "c": 0.21,
    "h": 312.8
  },
  "luminance": 0.31818
}

Semantic roles & 50–950 ramp

primary
#CD71FC
secondary
#DFF6D3
accent
#E6004E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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