#CC7DDE#CC7DDE

#CC7DDE is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.8% C 0.159 H 320.0°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CC7DDE
RGBrgb(204, 125, 222)
HSLhsl(289, 60%, 68%)
HSVhsv(289, 44%, 87%)
CMYKcmyk(8.1%, 43.7%, 0%, 12.9%)
CIE-LABlab(63.98, 46.15, -37.17)
CIE-LCHlch(63.98, 59.26, 321.15°)
OKLaboklab(70.84% 0.122 -0.1024)
OKLCHoklch(70.84% 0.159 320)
XYZxyz(45.4186, 32.7801, 73.0278)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DDE #8FDE7D
analogous
#9B7DDE #CC7DDE #DE7DBF
triadic
#CC7DDE #DECC7D #7DDECC
tetradic
#CC7DDE #DE9B7D #8FDE7D #7DBFDE
square
#CC7DDE #DE9B7D #8FDE7D #7DBFDE
split-complementary
#CC7DDE #BFDE7D #7DDE9B
monochromatic
#9A2DB3 #B94CD2 #CC7DDE #DFAEEA #F2DFF7

Accessibility & contrast

On white

2.78
#CC7DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CC7DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DDE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DDE#FFFFFF#000000##000000
##CC7DDE1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E1
Deuteranopia (green-blind)
#849EDB
Tritanopia (blue-blind)
#CD89A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc7dde;
/* rgb */ color: rgb(204, 125, 222);
/* oklch */ color: oklch(70.8% 0.159 320.0);
Tailwind
colors: {
  custom: {
    50: '#dda4e8',
    500: '#cc7dde',
    950: '#000000',
  },
}
SCSS
$custom: #cc7dde;
$custom-light: #dda4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7dde",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 288.866,
    "s": 59.509,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70838,
    "c": 0.15934,
    "h": 320
  },
  "luminance": 0.32779
}

Semantic roles & 50–950 ramp

primary
#CC7DDE
secondary
#D2EACD
accent
#C71E3E
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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