#CC7FDA#CC7FDA

#CC7FDA is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.0% C 0.152 H 321.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CC7FDA
RGBrgb(204, 127, 218)
HSLhsl(291, 55%, 68%)
HSVhsv(291, 42%, 85%)
CMYKcmyk(6.4%, 41.7%, 0%, 14.5%)
CIE-LABlab(64.23, 44.32, -34.56)
CIE-LCHlch(64.23, 56.20, 322.05°)
OKLaboklab(70.96% 0.1184 -0.095)
OKLCHoklch(70.96% 0.152 321.3)
XYZxyz(45.1446, 33.0797, 70.3231)
Luminance0.3308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FDA #8DDA7F
analogous
#9E7FDA #CC7FDA #DA7FBB
triadic
#CC7FDA #DACC7F #7FDACC
tetradic
#CC7FDA #DA9E7F #8DDA7F #7FBBDA
square
#CC7FDA #DA9E7F #8DDA7F #7FBBDA
split-complementary
#CC7FDA #BBDA7F #7FDA9E
monochromatic
#9A32AD #B950CC #CC7FDA #DFAEE8 #F2DEF5

Accessibility & contrast

On white

2.76
#CC7FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CC7FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FDA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FDA#FFFFFF#000000##000000
##CC7FDA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DD
Deuteranopia (green-blind)
#889FD7
Tritanopia (blue-blind)
#CE8AA2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7fda;
/* rgb */ color: rgb(204, 127, 218);
/* oklch */ color: oklch(71.0% 0.152 321.3);
Tailwind
colors: {
  custom: {
    50: '#dda6e5',
    500: '#cc7fda',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fda;
$custom-light: #dda6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fda",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 290.769,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70963,
    "c": 0.15181,
    "h": 321.3
  },
  "luminance": 0.33078
}

Semantic roles & 50–950 ramp

primary
#CC7FDA
secondary
#D1E9CC
accent
#C3233B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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