#CC7DF3#CC7DF3

#CC7DF3 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.9% C 0.182 H 313.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CC7DF3
RGBrgb(204, 125, 243)
HSLhsl(280, 83%, 72%)
HSVhsv(280, 49%, 95%)
CMYKcmyk(16%, 48.6%, 0%, 4.7%)
CIE-LABlab(64.94, 50.41, -47.29)
CIE-LCHlch(64.94, 69.12, 316.83°)
OKLaboklab(71.87% 0.1252 -0.1317)
OKLCHoklch(71.87% 0.182 313.5)
XYZxyz(48.4104, 33.9768, 88.7847)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DF3 #A4F37D
analogous
#917DF3 #CC7DF3 #F37DDF
triadic
#CC7DF3 #F3CC7D #7DF3CC
tetradic
#CC7DF3 #F3917D #A4F37D #7DDFF3
square
#CC7DF3 #F3917D #A4F37D #7DDFF3
split-complementary
#CC7DF3 #DFF37D #7DF391
monochromatic
#9D15E1 #B645EE #CC7DF3 #E2B5F8 #F4E3FC

Accessibility & contrast

On white

2.69
#CC7DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CC7DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DF3
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DF3#FFFFFF#000000##000000
##CC7DF31.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F7
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#C98FAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7df3;
/* rgb */ color: rgb(204, 125, 243);
/* oklch */ color: oklch(71.9% 0.182 313.5);
Tailwind
colors: {
  custom: {
    50: '#dea5f7',
    500: '#cc7df3',
    950: '#000000',
  },
}
SCSS
$custom: #cc7df3;
$custom-light: #dea5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7df3",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 243
  },
  "hsl": {
    "h": 280.169,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71868,
    "c": 0.18165,
    "h": 313.5
  },
  "luminance": 0.33976
}

Semantic roles & 50–950 ramp

primary
#CC7DF3
secondary
#E0F4D7
accent
#E0064E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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