#CC7DF0#CC7DF0

#CC7DF0 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.7% C 0.178 H 314.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CC7DF0
RGBrgb(204, 125, 240)
HSLhsl(281, 79%, 72%)
HSVhsv(281, 48%, 94%)
CMYKcmyk(15%, 47.9%, 0%, 5.9%)
CIE-LABlab(64.80, 49.78, -45.86)
CIE-LCHlch(64.80, 67.69, 317.35°)
OKLaboklab(71.71% 0.1248 -0.1275)
OKLCHoklch(71.71% 0.178 314.4)
XYZxyz(47.9611, 33.7971, 86.4182)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DF0 #A1F07D
analogous
#937DF0 #CC7DF0 #F07DDB
triadic
#CC7DF0 #F0CC7D #7DF0CC
tetradic
#CC7DF0 #F0937D #A1F07D #7DDBF0
square
#CC7DF0 #F0937D #A1F07D #7DDBF0
split-complementary
#CC7DF0 #DBF07D #7DF093
monochromatic
#9D19DA #B646EA #CC7DF0 #E2B4F6 #F4E4FC

Accessibility & contrast

On white

2.71
#CC7DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CC7DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DF0
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DF0#FFFFFF#000000##000000
##CC7DF01.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#C98EAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc7df0;
/* rgb */ color: rgb(204, 125, 240);
/* oklch */ color: oklch(71.7% 0.178 314.4);
Tailwind
colors: {
  custom: {
    50: '#dea5f5',
    500: '#cc7df0',
    950: '#000000',
  },
}
SCSS
$custom: #cc7df0;
$custom-light: #dea5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7df0",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 281.217,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71715,
    "c": 0.17841,
    "h": 314.4
  },
  "luminance": 0.33796
}

Semantic roles & 50–950 ramp

primary
#CC7DF0
secondary
#DFF3D6
accent
#DC0A4C
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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