#CC7CF9#CC7CF9

#CC7CF9 is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.190 H 312.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CC7CF9
RGBrgb(204, 124, 249)
HSLhsl(278, 91%, 73%)
HSVhsv(278, 50%, 98%)
CMYKcmyk(18.1%, 50.2%, 0%, 2.4%)
CIE-LABlab(65.04, 52.18, -50.44)
CIE-LCHlch(65.04, 72.58, 315.97°)
OKLaboklab(72.03% 0.1271 -0.1408)
OKLCHoklch(72.03% 0.19 312.1)
XYZxyz(49.2054, 34.0933, 93.5928)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CF9 #A9F97C
analogous
#8D7CF9 #CC7CF9 #F97CE7
triadic
#CC7CF9 #F9CC7C #7CF9CC
tetradic
#CC7CF9 #F98D7C #A9F97C #7CE7F9
square
#CC7CF9 #F98D7C #A9F97C #7CE7F9
split-complementary
#CC7CF9 #E7F97C #7CF98D
monochromatic
#9D0BF0 #B541F6 #CC7CF9 #E3B7FC #F4E2FE

Accessibility & contrast

On white

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

On black

7.82
#CC7CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CF9
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CF9#FFFFFF#000000##000000
##CC7CF91.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFD
Deuteranopia (green-blind)
#75A0F6
Tritanopia (blue-blind)
#C790AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7cf9;
/* rgb */ color: rgb(204, 124, 249);
/* oklch */ color: oklch(72.0% 0.190 312.1);
Tailwind
colors: {
  custom: {
    50: '#dea4fc',
    500: '#cc7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cf9;
$custom-light: #dea4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cf9",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 278.4,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72032,
    "c": 0.18972,
    "h": 312.1
  },
  "luminance": 0.34092
}

Semantic roles & 50–950 ramp

primary
#CC7CF9
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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