#CC7FF7#CC7FF7

#CC7FF7 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.183 H 312.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CC7FF7
RGBrgb(204, 127, 247)
HSLhsl(279, 88%, 73%)
HSVhsv(279, 49%, 97%)
CMYKcmyk(17.4%, 48.6%, 0%, 3.1%)
CIE-LABlab(65.54, 50.21, -48.55)
CIE-LCHlch(65.54, 69.84, 315.96°)
OKLaboklab(72.37% 0.1229 -0.1353)
OKLCHoklch(72.37% 0.183 312.3)
XYZxyz(49.2768, 34.7326, 92.0859)
Luminance0.3473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FF7 #AAF77F
analogous
#907FF7 #CC7FF7 #F77FE6
triadic
#CC7FF7 #F7CC7F #7FF7CC
tetradic
#CC7FF7 #F7907F #AAF77F #7FE6F7
square
#CC7FF7 #F7907F #AAF77F #7FE6F7
split-complementary
#CC7FF7 #E6F77F #7FF790
monochromatic
#9D0FED #B545F3 #CC7FF7 #E3B9FB #F4E2FD

Accessibility & contrast

On white

2.64
#CC7FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CC7FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FF7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FF7#FFFFFF#000000##000000
##CC7FF71.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#C892B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc7ff7;
/* rgb */ color: rgb(204, 127, 247);
/* oklch */ color: oklch(72.4% 0.183 312.3);
Tailwind
colors: {
  custom: {
    50: '#dea6fa',
    500: '#cc7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ff7;
$custom-light: #dea6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ff7",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 278.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72373,
    "c": 0.18283,
    "h": 312.3
  },
  "luminance": 0.34732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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