#CC7ED4#CC7ED4

#CC7ED4 is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.5% C 0.147 H 323.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CC7ED4
RGBrgb(204, 126, 212)
HSLhsl(294, 50%, 66%)
HSVhsv(294, 41%, 83%)
CMYKcmyk(3.8%, 40.6%, 0%, 16.9%)
CIE-LABlab(63.77, 43.69, -31.92)
CIE-LCHlch(63.77, 54.11, 323.85°)
OKLaboklab(70.54% 0.1187 -0.0874)
OKLCHoklch(70.54% 0.147 323.6)
XYZxyz(44.2452, 32.5143, 66.2198)
Luminance0.3251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7ED4 #86D47E
analogous
#A17ED4 #CC7ED4 #D47EB1
triadic
#CC7ED4 #D4CC7E #7ED4CC
tetradic
#CC7ED4 #D4A17E #86D47E #7EB1D4
square
#CC7ED4 #D4A17E #86D47E #7EB1D4
split-complementary
#CC7ED4 #B1D47E #7ED4A1
monochromatic
#9836A2 #BA50C5 #CC7ED4 #DEACE3 #F0DAF3

Accessibility & contrast

On white

2.80
#CC7ED4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CC7ED4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7ED4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7ED4#FFFFFF#000000##000000
##CC7ED41.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7595D7
Deuteranopia (green-blind)
#899ED1
Tritanopia (blue-blind)
#CF879F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7ed4;
/* rgb */ color: rgb(204, 126, 212);
/* oklch */ color: oklch(70.5% 0.147 323.6);
Tailwind
colors: {
  custom: {
    50: '#dda5e1',
    500: '#cc7ed4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ed4;
$custom-light: #dda5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ed4",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 294.419,
    "s": 50,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70536,
    "c": 0.14741,
    "h": 323.6
  },
  "luminance": 0.32513
}

Semantic roles & 50–950 ramp

primary
#CC7ED4
secondary
#CBE5C9
accent
#BD2836
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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