#CC7CFD#CC7CFD

#CC7CFD is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.2% C 0.194 H 311.1°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CC7CFD
RGBrgb(204, 124, 253)
HSLhsl(277, 97%, 74%)
HSVhsv(277, 51%, 99%)
CMYKcmyk(19.4%, 51%, 0%, 0.8%)
CIE-LABlab(65.24, 53.03, -52.32)
CIE-LCHlch(65.24, 74.50, 315.38°)
OKLaboklab(72.24% 0.1275 -0.1463)
OKLCHoklch(72.24% 0.194 311.1)
XYZxyz(49.8359, 34.3455, 96.9135)
Luminance0.3434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CFD #ADFD7C
analogous
#8C7CFD #CC7CFD #FD7CEE
triadic
#CC7CFD #FDCC7C #7CFDCC
tetradic
#CC7CFD #FD8C7C #ADFD7C #7CEEFD
square
#CC7CFD #FD8C7C #ADFD7C #7CEEFD
split-complementary
#CC7CFD #EEFD7C #7CFD8C
monochromatic
#9D04FB #B540FC #CC7CFD #E3B8FE #F3E1FF

Accessibility & contrast

On white

2.67
#CC7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CC7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CFD
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CFD#FFFFFF#000000##000000
##CC7CFD1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#C691B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7cfd;
/* rgb */ color: rgb(204, 124, 253);
/* oklch */ color: oklch(72.2% 0.194 311.1);
Tailwind
colors: {
  custom: {
    50: '#dea4fe',
    500: '#cc7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cfd;
$custom-light: #dea4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cfd",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 277.209,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72244,
    "c": 0.19406,
    "h": 311.1
  },
  "luminance": 0.34345
}

Semantic roles & 50–950 ramp

primary
#CC7CFD
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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