#CC7FF4#CC7FF4

#CC7FF4 is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.180 H 313.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#CC7FF4
RGBrgb(204, 127, 244)
HSLhsl(279, 84%, 73%)
HSVhsv(279, 48%, 96%)
CMYKcmyk(16.4%, 48%, 0%, 4.3%)
CIE-LABlab(65.40, 49.58, -47.13)
CIE-LCHlch(65.40, 68.40, 316.45°)
OKLaboklab(72.22% 0.1226 -0.1312)
OKLCHoklch(72.22% 0.18 313.1)
XYZxyz(48.8176, 34.5489, 89.6674)
Luminance0.3455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FF4 #A7F47F
analogous
#917FF4 #CC7FF4 #F47FE2
triadic
#CC7FF4 #F4CC7F #7FF4CC
tetradic
#CC7FF4 #F4917F #A7F47F #7FE2F4
square
#CC7FF4 #F4917F #A7F47F #7FE2F4
split-complementary
#CC7FF4 #E2F47F #7FF491
monochromatic
#9D14E5 #B647EF #CC7FF4 #E2B7F9 #F4E3FD

Accessibility & contrast

On white

2.66
#CC7FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#CC7FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FF4
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FF4#FFFFFF#000000##000000
##CC7FF41.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF8
Deuteranopia (green-blind)
#7BA1F1
Tritanopia (blue-blind)
#C891AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc7ff4;
/* rgb */ color: rgb(204, 127, 244);
/* oklch */ color: oklch(72.2% 0.180 313.1);
Tailwind
colors: {
  custom: {
    50: '#dea6f8',
    500: '#cc7ff4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ff4;
$custom-light: #dea6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ff4",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 279.487,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72219,
    "c": 0.17955,
    "h": 313.1
  },
  "luminance": 0.34548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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