#CC7EDD#CC7EDD

#CC7EDD is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.9% C 0.157 H 320.3°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CC7EDD
RGBrgb(204, 126, 221)
HSLhsl(289, 58%, 68%)
HSVhsv(289, 43%, 87%)
CMYKcmyk(7.7%, 43%, 0%, 13.3%)
CIE-LABlab(64.15, 45.43, -36.36)
CIE-LCHlch(64.15, 58.19, 321.33°)
OKLaboklab(70.95% 0.1204 -0.1001)
OKLCHoklch(70.95% 0.157 320.3)
XYZxyz(45.4122, 32.9811, 72.3664)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7EDD #8FDD7E
analogous
#9C7EDD #CC7EDD #DD7EBE
triadic
#CC7EDD #DDCC7E #7EDDCC
tetradic
#CC7EDD #DD9C7E #8FDD7E #7EBEDD
square
#CC7EDD #DD9C7E #8FDD7E #7EBEDD
split-complementary
#CC7EDD #BEDD7E #7EDD9C
monochromatic
#9A2FB2 #B94ED0 #CC7EDD #DFAEEA #F2DFF7

Accessibility & contrast

On white

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

On black

7.60
#CC7EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7EDD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7EDD#FFFFFF#000000##000000
##CC7EDD1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E0
Deuteranopia (green-blind)
#869EDA
Tritanopia (blue-blind)
#CD8AA3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc7edd;
/* rgb */ color: rgb(204, 126, 221);
/* oklch */ color: oklch(70.9% 0.157 320.3);
Tailwind
colors: {
  custom: {
    50: '#dda5e8',
    500: '#cc7edd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7edd;
$custom-light: #dda5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7edd",
  "rgb": {
    "r": 204,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 289.263,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70945,
    "c": 0.15661,
    "h": 320.3
  },
  "luminance": 0.3298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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