#CC7FFD#CC7FFD

#CC7FFD is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.7% C 0.189 H 310.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CC7FFD
RGBrgb(204, 127, 253)
HSLhsl(277, 97%, 75%)
HSVhsv(277, 50%, 99%)
CMYKcmyk(19.4%, 49.8%, 0%, 0.8%)
CIE-LABlab(65.83, 51.48, -51.38)
CIE-LCHlch(65.83, 72.73, 315.06°)
OKLaboklab(72.69% 0.1236 -0.1435)
OKLCHoklch(72.69% 0.189 310.7)
XYZxyz(50.2176, 35.1089, 97.0407)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FFD #B0FD7F
analogous
#8D7FFD #CC7FFD #FD7FEF
triadic
#CC7FFD #FDCC7F #7FFDCC
tetradic
#CC7FFD #FD8D7F #B0FD7F #7FEFFD
square
#CC7FFD #FD8D7F #B0FD7F #7FEFFD
split-complementary
#CC7FFD #EFFD7F #7FFD8D
monochromatic
#9C06FB #B443FC #CC7FFD #E4BBFE #F3E1FF

Accessibility & contrast

On white

2.62
#CC7FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CC7FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FFD
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FFD#FFFFFF#000000##000000
##CC7FFD1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#76A1FA
Tritanopia (blue-blind)
#C694B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc7ffd;
/* rgb */ color: rgb(204, 127, 253);
/* oklch */ color: oklch(72.7% 0.189 310.7);
Tailwind
colors: {
  custom: {
    50: '#dea6fe',
    500: '#cc7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ffd;
$custom-light: #dea6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ffd",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 276.667,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72686,
    "c": 0.18942,
    "h": 310.7
  },
  "luminance": 0.35108
}

Semantic roles & 50–950 ramp

primary
#CC7FFD
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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