#CC7CF4#CC7CF4

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

Color values

HEX#CC7CF4
RGBrgb(204, 124, 244)
HSLhsl(280, 85%, 72%)
HSVhsv(280, 49%, 96%)
CMYKcmyk(16.4%, 49.2%, 0%, 4.3%)
CIE-LABlab(64.79, 51.13, -48.08)
CIE-LCHlch(64.79, 70.19, 316.76°)
OKLaboklab(71.77% 0.1266 -0.134)
OKLCHoklch(71.77% 0.184 313.4)
XYZxyz(48.4359, 33.7855, 89.5401)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CF4 #A4F47C
analogous
#907CF4 #CC7CF4 #F47CE0
triadic
#CC7CF4 #F4CC7C #7CF4CC
tetradic
#CC7CF4 #F4907C #A4F47C #7CE0F4
square
#CC7CF4 #F4907C #A4F47C #7CE0F4
split-complementary
#CC7CF4 #E0F47C #7CF490
monochromatic
#9D13E3 #B644EF #CC7CF4 #E2B4F9 #F4E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7CF4#FFFFFF#000000##000000
##CC7CF41.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)
#6199F8
Deuteranopia (green-blind)
#789FF1
Tritanopia (blue-blind)
#C98FAD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc7cf4;
/* rgb */ color: rgb(204, 124, 244);
/* oklch */ color: oklch(71.8% 0.184 313.4);
Tailwind
colors: {
  custom: {
    50: '#dea4f8',
    500: '#cc7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cf4;
$custom-light: #dea4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cf4",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 280,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71771,
    "c": 0.18432,
    "h": 313.4
  },
  "luminance": 0.33784
}

Semantic roles & 50–950 ramp

primary
#CC7CF4
secondary
#E0F5D6
accent
#E1054E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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