#CC7ADD#CC7ADD

#CC7ADD is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.3% C 0.163 H 320.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CC7ADD
RGBrgb(204, 122, 221)
HSLhsl(290, 59%, 67%)
HSVhsv(290, 45%, 87%)
CMYKcmyk(7.7%, 44.8%, 0%, 13.3%)
CIE-LABlab(63.33, 47.52, -37.64)
CIE-LCHlch(63.33, 60.62, 321.62°)
OKLaboklab(70.33% 0.1261 -0.1038)
OKLCHoklch(70.33% 0.163 320.6)
XYZxyz(44.9109, 31.9786, 72.1993)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7ADD #8BDD7A
analogous
#9B7ADD #CC7ADD #DD7ABD
triadic
#CC7ADD #DDCC7A #7ADDCC
tetradic
#CC7ADD #DD9B7A #8BDD7A #7ABDDD
square
#CC7ADD #DD9B7A #8BDD7A #7ABDDD
split-complementary
#CC7ADD #BDDD7A #7ADD9B
monochromatic
#992DB0 #B949D1 #CC7ADD #DFABE9 #F1DBF6

Accessibility & contrast

On white

2.84
#CC7ADD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CC7ADD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7ADD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7ADD#FFFFFF#000000##000000
##CC7ADD1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93E0
Deuteranopia (green-blind)
#829CDA
Tritanopia (blue-blind)
#CE87A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7add;
/* rgb */ color: rgb(204, 122, 221);
/* oklch */ color: oklch(70.3% 0.163 320.6);
Tailwind
colors: {
  custom: {
    50: '#dda2e8',
    500: '#cc7add',
    950: '#000000',
  },
}
SCSS
$custom: #cc7add;
$custom-light: #dda2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7add",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 221
  },
  "hsl": {
    "h": 289.697,
    "s": 59.281,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70333,
    "c": 0.16332,
    "h": 320.6
  },
  "luminance": 0.31977
}

Semantic roles & 50–950 ramp

primary
#CC7ADD
secondary
#CFE9CA
accent
#C71F3B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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