#CC7ADE#CC7ADE

#CC7ADE is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.164 H 320.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CC7ADE
RGBrgb(204, 122, 222)
HSLhsl(289, 60%, 67%)
HSVhsv(289, 45%, 87%)
CMYKcmyk(8.1%, 45%, 0%, 12.9%)
CIE-LABlab(63.37, 47.72, -38.12)
CIE-LCHlch(63.37, 61.08, 321.38°)
OKLaboklab(70.38% 0.1263 -0.1052)
OKLCHoklch(70.38% 0.164 320.2)
XYZxyz(45.0446, 32.0320, 72.9031)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7ADE #8CDE7A
analogous
#9A7ADE #CC7ADE #DE7ABE
triadic
#CC7ADE #DECC7A #7ADECC
tetradic
#CC7ADE #DE9A7A #8CDE7A #7ABEDE
square
#CC7ADE #DE9A7A #8CDE7A #7ABEDE
split-complementary
#CC7ADE #BEDE7A #7ADE9A
monochromatic
#9A2CB2 #B949D2 #CC7ADE #DFABEA #F2DCF6

Accessibility & contrast

On white

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

On black

7.41
#CC7ADE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7ADE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7ADE#FFFFFF#000000##000000
##CC7ADE1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E2
Deuteranopia (green-blind)
#829CDB
Tritanopia (blue-blind)
#CD87A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7ade;
/* rgb */ color: rgb(204, 122, 222);
/* oklch */ color: oklch(70.4% 0.164 320.2);
Tailwind
colors: {
  custom: {
    50: '#dda2e8',
    500: '#cc7ade',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ade;
$custom-light: #dda2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ade",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 222
  },
  "hsl": {
    "h": 289.2,
    "s": 60.241,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7038,
    "c": 0.16435,
    "h": 320.2
  },
  "luminance": 0.3203
}

Semantic roles & 50–950 ramp

primary
#CC7ADE
secondary
#D0EACA
accent
#C81E3C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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