#CC4EE7#CC4EE7

#CC4EE7 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.238 H 320.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CC4EE7
RGBrgb(204, 78, 231)
HSLhsl(289, 76%, 61%)
HSVhsv(289, 66%, 91%)
CMYKcmyk(11.7%, 66.2%, 0%, 9.4%)
CIE-LABlab(56.15, 70.01, -54.58)
CIE-LCHlch(56.15, 88.77, 322.06°)
OKLaboklab(65.23% 0.1823 -0.1526)
OKLCHoklch(65.23% 0.238 320.1)
XYZxyz(42.0483, 24.0577, 78.0146)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EE7 #69E74E
analogous
#7F4EE7 #CC4EE7 #E74EB5
triadic
#CC4EE7 #E7CC4E #4EE7CC
tetradic
#CC4EE7 #E77F4E #69E74E #4EB5E7
square
#CC4EE7 #E77F4E #69E74E #4EB5E7
split-complementary
#CC4EE7 #B5E74E #4EE77F
monochromatic
#8B16A4 #B91EDA #CC4EE7 #DC84EE #EBBAF6

Accessibility & contrast

On white

3.61
#CC4EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CC4EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EE7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EE7#FFFFFF#000000##000000
##CC4EE71.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#177EEB
Deuteranopia (green-blind)
#5B8BE3
Tritanopia (blue-blind)
#CD6995
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc4ee7;
/* rgb */ color: rgb(204, 78, 231);
/* oklch */ color: oklch(65.2% 0.238 320.1);
Tailwind
colors: {
  custom: {
    50: '#df89ef',
    500: '#cc4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ee7;
$custom-light: #df89ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ee7",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 289.412,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65233,
    "c": 0.23775,
    "h": 320.1
  },
  "luminance": 0.24056
}

Semantic roles & 50–950 ramp

primary
#CC4EE7
secondary
#B6E5AB
accent
#D80D31
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CC4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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