#CC71FD#CC71FD

#CC71FD is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.7% C 0.211 H 312.2°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CC71FD
RGBrgb(204, 113, 253)
HSLhsl(279, 97%, 72%)
HSVhsv(279, 55%, 99%)
CMYKcmyk(19.4%, 55.3%, 0%, 0.8%)
CIE-LABlab(63.13, 58.57, -55.67)
CIE-LCHlch(63.13, 80.81, 316.46°)
OKLaboklab(70.69% 0.1416 -0.156)
OKLCHoklch(70.69% 0.211 312.2)
XYZxyz(48.5335, 31.7406, 96.4793)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71FD #A2FD71
analogous
#8671FD #CC71FD #FD71E8
triadic
#CC71FD #FDCC71 #71FDCC
tetradic
#CC71FD #FD8671 #A2FD71 #71E8FD
square
#CC71FD #FD8671 #A2FD71 #71E8FD
split-complementary
#CC71FD #E8FD71 #71FD86
monochromatic
#9D03F0 #B635FC #CC71FD #E2ADFE #F4E1FF

Accessibility & contrast

On white

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

On black

7.35
#CC71FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71FD
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71FD#FFFFFF#000000##000000
##CC71FD1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#C789AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc71fd;
/* rgb */ color: rgb(204, 113, 253);
/* oklch */ color: oklch(70.7% 0.211 312.2);
Tailwind
colors: {
  custom: {
    50: '#de9dff',
    500: '#cc71fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc71fd;
$custom-light: #de9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71fd",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 279,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70692,
    "c": 0.21067,
    "h": 312.2
  },
  "luminance": 0.31739
}

Semantic roles & 50–950 ramp

primary
#CC71FD
secondary
#E0F7D3
accent
#E60050
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F18
muted
#847E86

Preview Lab

Preview with #CC71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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