#CC7DE3#CC7DE3

#CC7DE3 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.1% C 0.165 H 318.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CC7DE3
RGBrgb(204, 125, 227)
HSLhsl(286, 65%, 69%)
HSVhsv(286, 45%, 89%)
CMYKcmyk(10.1%, 44.9%, 0%, 11%)
CIE-LABlab(64.20, 47.14, -39.60)
CIE-LCHlch(64.20, 61.57, 319.97°)
OKLaboklab(71.08% 0.1229 -0.1094)
OKLCHoklch(71.08% 0.165 318.3)
XYZxyz(46.0987, 33.0522, 76.6095)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DE3 #94E37D
analogous
#997DE3 #CC7DE3 #E37DC7
triadic
#CC7DE3 #E3CC7D #7DE3CC
tetradic
#CC7DE3 #E3997D #94E37D #7DC7E3
square
#CC7DE3 #E3997D #94E37D #7DC7E3
split-complementary
#CC7DE3 #C7E37D #7DE399
monochromatic
#9B29BD #B84BD8 #CC7DE3 #E0AFEE #F4E2F9

Accessibility & contrast

On white

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

On black

7.61
#CC7DE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DE3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DE3#FFFFFF#000000##000000
##CC7DE31.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E7
Deuteranopia (green-blind)
#829EE0
Tritanopia (blue-blind)
#CC8BA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7de3;
/* rgb */ color: rgb(204, 125, 227);
/* oklch */ color: oklch(71.1% 0.165 318.3);
Tailwind
colors: {
  custom: {
    50: '#dda5ec',
    500: '#cc7de3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7de3;
$custom-light: #dda5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7de3",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 227
  },
  "hsl": {
    "h": 286.471,
    "s": 64.557,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71075,
    "c": 0.16456,
    "h": 318.3
  },
  "luminance": 0.33051
}

Semantic roles & 50–950 ramp

primary
#CC7DE3
secondary
#D6EDCF
accent
#CC1942
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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