#CC71F3#CC71F3

#CC71F3 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.1% C 0.200 H 314.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CC71F3
RGBrgb(204, 113, 243)
HSLhsl(282, 84%, 70%)
HSVhsv(282, 53%, 95%)
CMYKcmyk(16%, 53.5%, 0%, 4.7%)
CIE-LABlab(62.61, 56.51, -50.98)
CIE-LCHlch(62.61, 76.11, 317.94°)
OKLaboklab(70.14% 0.141 -0.1423)
OKLCHoklch(70.14% 0.2 314.7)
XYZxyz(46.9820, 31.1201, 88.3085)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71F3 #98F371
analogous
#8B71F3 #CC71F3 #F371D9
triadic
#CC71F3 #F3CC71 #71F3CC
tetradic
#CC71F3 #F38B71 #98F371 #71D9F3
square
#CC71F3 #F38B71 #98F371 #71D9F3
split-complementary
#CC71F3 #D9F371 #71F38B
monochromatic
#9C12D7 #B839EE #CC71F3 #E0A9F8 #F5E2FD

Accessibility & contrast

On white

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

On black

7.22
#CC71F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71F3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71F3#FFFFFF#000000##000000
##CC71F31.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F7
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#C986A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc71f3;
/* rgb */ color: rgb(204, 113, 243);
/* oklch */ color: oklch(70.1% 0.200 314.7);
Tailwind
colors: {
  custom: {
    50: '#de9df7',
    500: '#cc71f3',
    950: '#000000',
  },
}
SCSS
$custom: #cc71f3;
$custom-light: #de9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71f3",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 282,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70142,
    "c": 0.20033,
    "h": 314.7
  },
  "luminance": 0.31119
}

Semantic roles & 50–950 ramp

primary
#CC71F3
secondary
#D9F2CE
accent
#E10547
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71F3

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

Preview Lab → · Contrast checker → · Palette generator →

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