#CC71F2#CC71F2

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

Color values

HEX#CC71F2
RGBrgb(204, 113, 242)
HSLhsl(282, 83%, 70%)
HSVhsv(282, 53%, 95%)
CMYKcmyk(15.7%, 53.3%, 0%, 5.1%)
CIE-LABlab(62.56, 56.30, -50.51)
CIE-LCHlch(62.56, 75.64, 318.10°)
OKLaboklab(70.09% 0.1409 -0.1409)
OKLCHoklch(70.09% 0.199 315)
XYZxyz(46.8314, 31.0598, 87.5154)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71F2 #97F271
analogous
#8C71F2 #CC71F2 #F271D7
triadic
#CC71F2 #F2CC71 #71F2CC
tetradic
#CC71F2 #F28C71 #97F271 #71D7F2
square
#CC71F2 #F28C71 #97F271 #71D7F2
split-complementary
#CC71F2 #D7F271 #71F28C
monochromatic
#9C14D5 #B839ED #CC71F2 #E0A9F7 #F4E1FC

Accessibility & contrast

On white

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

On black

7.21
#CC71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71F2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71F2#FFFFFF#000000##000000
##CC71F21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#C986A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc71f2;
/* rgb */ color: rgb(204, 113, 242);
/* oklch */ color: oklch(70.1% 0.199 315.0);
Tailwind
colors: {
  custom: {
    50: '#de9df7',
    500: '#cc71f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc71f2;
$custom-light: #de9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71f2",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 282.326,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70089,
    "c": 0.19931,
    "h": 315
  },
  "luminance": 0.31058
}

Semantic roles & 50–950 ramp

primary
#CC71F2
secondary
#D8F2CD
accent
#E00646
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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