#CC7FF9#CC7FF9

#CC7FF9 is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.5% C 0.185 H 311.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CC7FF9
RGBrgb(204, 127, 249)
HSLhsl(278, 91%, 74%)
HSVhsv(278, 49%, 98%)
CMYKcmyk(18.1%, 49%, 0%, 2.4%)
CIE-LABlab(65.64, 50.63, -49.49)
CIE-LCHlch(65.64, 70.80, 315.65°)
OKLaboklab(72.48% 0.1232 -0.1381)
OKLCHoklch(72.48% 0.185 311.7)
XYZxyz(49.5871, 34.8567, 93.7200)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FF9 #ACF97F
analogous
#8F7FF9 #CC7FF9 #F97FE9
triadic
#CC7FF9 #F9CC7F #7FF9CC
tetradic
#CC7FF9 #F98F7F #ACF97F #7FE9F9
square
#CC7FF9 #F98F7F #ACF97F #7FE9F9
split-complementary
#CC7FF9 #E9F97F #7FF98F
monochromatic
#9D0BF2 #B545F6 #CC7FF9 #E3B9FC #F3E2FE

Accessibility & contrast

On white

2.63
#CC7FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CC7FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FF9
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FF9#FFFFFF#000000##000000
##CC7FF91.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFD
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#C793B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc7ff9;
/* rgb */ color: rgb(204, 127, 249);
/* oklch */ color: oklch(72.5% 0.185 311.7);
Tailwind
colors: {
  custom: {
    50: '#dea6fc',
    500: '#cc7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ff9;
$custom-light: #dea6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ff9",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 277.869,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72477,
    "c": 0.18502,
    "h": 311.7
  },
  "luminance": 0.34856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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