#CC7FDD#CC7FDD

#CC7FDD is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.1% C 0.155 H 320.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CC7FDD
RGBrgb(204, 127, 221)
HSLhsl(289, 58%, 68%)
HSVhsv(289, 43%, 87%)
CMYKcmyk(7.7%, 42.5%, 0%, 13.3%)
CIE-LABlab(64.35, 44.90, -36.03)
CIE-LCHlch(64.35, 57.57, 321.25°)
OKLaboklab(71.1% 0.119 -0.0992)
OKLCHoklch(71.1% 0.155 320.2)
XYZxyz(45.5407, 33.2382, 72.4093)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FDD #90DD7F
analogous
#9D7FDD #CC7FDD #DD7FBF
triadic
#CC7FDD #DDCC7F #7FDDCC
tetradic
#CC7FDD #DD9D7F #90DD7F #7FBFDD
square
#CC7FDD #DD9D7F #90DD7F #7FBFDD
split-complementary
#CC7FDD #BFDD7F #7FDD9D
monochromatic
#9B2FB2 #B94FD0 #CC7FDD #DFAFEA #F3E0F7

Accessibility & contrast

On white

2.75
#CC7FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CC7FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FDD
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FDD#FFFFFF#000000##000000
##CC7FDD1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7297E0
Deuteranopia (green-blind)
#869FDA
Tritanopia (blue-blind)
#CD8BA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7fdd;
/* rgb */ color: rgb(204, 127, 221);
/* oklch */ color: oklch(71.1% 0.155 320.2);
Tailwind
colors: {
  custom: {
    50: '#dda6e8',
    500: '#cc7fdd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fdd;
$custom-light: #dda6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fdd",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 289.149,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71101,
    "c": 0.15492,
    "h": 320.2
  },
  "luminance": 0.33237
}

Semantic roles & 50–950 ramp

primary
#CC7FDD
secondary
#D3EACE
accent
#C6203E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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