#CC71ED#CC71ED

#CC71ED is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.194 H 316.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CC71ED
RGBrgb(204, 113, 237)
HSLhsl(284, 78%, 69%)
HSVhsv(284, 52%, 93%)
CMYKcmyk(13.9%, 52.3%, 0%, 7.1%)
CIE-LABlab(62.31, 55.29, -48.14)
CIE-LCHlch(62.31, 73.31, 318.96°)
OKLaboklab(69.82% 0.1405 -0.134)
OKLCHoklch(69.82% 0.194 316.3)
XYZxyz(46.0907, 30.7635, 83.6144)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71ED #92ED71
analogous
#8E71ED #CC71ED #ED71D0
triadic
#CC71ED #EDCC71 #71EDCC
tetradic
#CC71ED #ED8E71 #92ED71 #71D0ED
square
#CC71ED #ED8E71 #92ED71 #71D0ED
split-complementary
#CC71ED #D0ED71 #71ED8E
monochromatic
#9B1ACA #B83BE6 #CC71ED #E0A7F4 #F3DEFB

Accessibility & contrast

On white

2.94
#CC71ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CC71ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71ED
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71ED#FFFFFF#000000##000000
##CC71ED1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#7399EA
Tritanopia (blue-blind)
#CB84A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc71ed;
/* rgb */ color: rgb(204, 113, 237);
/* oklch */ color: oklch(69.8% 0.194 316.3);
Tailwind
colors: {
  custom: {
    50: '#de9df3',
    500: '#cc71ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc71ed;
$custom-light: #de9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71ed",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 284.032,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69823,
    "c": 0.19418,
    "h": 316.3
  },
  "luminance": 0.30762
}

Semantic roles & 50–950 ramp

primary
#CC71ED
secondary
#D4EFCA
accent
#DA0C43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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