#CC7DF4#CC7DF4

#CC7DF4 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.9% C 0.183 H 313.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#CC7DF4
RGBrgb(204, 125, 244)
HSLhsl(280, 84%, 72%)
HSVhsv(280, 49%, 96%)
CMYKcmyk(16.4%, 48.8%, 0%, 4.3%)
CIE-LABlab(64.99, 50.62, -47.76)
CIE-LCHlch(64.99, 69.59, 316.66°)
OKLaboklab(71.92% 0.1253 -0.133)
OKLCHoklch(71.92% 0.183 313.3)
XYZxyz(48.5619, 34.0374, 89.5821)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DF4 #A5F47D
analogous
#917DF4 #CC7DF4 #F47DE0
triadic
#CC7DF4 #F4CC7D #7DF4CC
tetradic
#CC7DF4 #F4917D #A5F47D #7DE0F4
square
#CC7DF4 #F4917D #A5F47D #7DE0F4
split-complementary
#CC7DF4 #E0F47D #7DF491
monochromatic
#9D13E3 #B645EF #CC7DF4 #E2B5F9 #F4E3FD

Accessibility & contrast

On white

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

On black

7.81
#CC7DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DF4
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DF4#FFFFFF#000000##000000
##CC7DF41.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F8
Deuteranopia (green-blind)
#79A0F1
Tritanopia (blue-blind)
#C890AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7df4;
/* rgb */ color: rgb(204, 125, 244);
/* oklch */ color: oklch(71.9% 0.183 313.3);
Tailwind
colors: {
  custom: {
    50: '#dea5f8',
    500: '#cc7df4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7df4;
$custom-light: #dea5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7df4",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 279.832,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71919,
    "c": 0.18274,
    "h": 313.3
  },
  "luminance": 0.34036
}

Semantic roles & 50–950 ramp

primary
#CC7DF4
secondary
#E1F5D6
accent
#E1054F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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