#CD71FA#CD71FA

#CD71FA is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.6% C 0.208 H 313.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CD71FA
RGBrgb(205, 113, 250)
HSLhsl(280, 93%, 71%)
HSVhsv(280, 55%, 98%)
CMYKcmyk(18%, 54.8%, 0%, 2%)
CIE-LABlab(63.09, 58.20, -54.08)
CIE-LCHlch(63.09, 79.44, 317.10°)
OKLaboklab(70.64% 0.1426 -0.1513)
OKLCHoklch(70.64% 0.208 313.3)
XYZxyz(48.3344, 31.6928, 93.9951)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71FA #9EFA71
analogous
#8871FA #CD71FA #FA71E2
triadic
#CD71FA #FACD71 #71FACD
tetradic
#CD71FA #FA8871 #9EFA71 #71E2FA
square
#CD71FA #FA8871 #9EFA71 #71E2FA
split-complementary
#CD71FA #E2FA71 #71FA88
monochromatic
#9F08E8 #B836F8 #CD71FA #E2ACFC #F5E1FE

Accessibility & contrast

On white

2.86
#CD71FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CD71FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71FA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71FA#FFFFFF#000000##000000
##CD71FA1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#C988AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd71fa;
/* rgb */ color: rgb(205, 113, 250);
/* oklch */ color: oklch(70.6% 0.208 313.3);
Tailwind
colors: {
  custom: {
    50: '#df9dfc',
    500: '#cd71fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd71fa;
$custom-light: #df9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71fa",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 280.292,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70637,
    "c": 0.20794,
    "h": 313.3
  },
  "luminance": 0.31692
}

Semantic roles & 50–950 ramp

primary
#CD71FA
secondary
#DDF5D1
accent
#E6004B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #CD71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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