#CC7FED#CC7FED

#CC7FED is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.9% C 0.172 H 315.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#CC7FED
RGBrgb(204, 127, 237)
HSLhsl(282, 75%, 71%)
HSVhsv(282, 46%, 93%)
CMYKcmyk(13.9%, 46.4%, 0%, 7.1%)
CIE-LABlab(65.07, 48.12, -43.79)
CIE-LCHlch(65.07, 65.06, 317.70°)
OKLaboklab(71.87% 0.1216 -0.1215)
OKLCHoklch(71.87% 0.172 315)
XYZxyz(47.7749, 34.1318, 84.1758)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FED #A0ED7F
analogous
#957FED #CC7FED #ED7FD7
triadic
#CC7FED #EDCC7F #7FEDCC
tetradic
#CC7FED #ED957F #A0ED7F #7FD7ED
square
#CC7FED #ED957F #A0ED7F #7FD7ED
split-complementary
#CC7FED #D7ED7F #7FED95
monochromatic
#9D1ED4 #B749E5 #CC7FED #E1B5F5 #F4E4FB

Accessibility & contrast

On white

2.68
#CC7FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#CC7FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FED
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FED#FFFFFF#000000##000000
##CC7FED1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#CA8FAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7fed;
/* rgb */ color: rgb(204, 127, 237);
/* oklch */ color: oklch(71.9% 0.172 315.0);
Tailwind
colors: {
  custom: {
    50: '#dda6f3',
    500: '#cc7fed',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fed;
$custom-light: #dda6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fed",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 282,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71867,
    "c": 0.17195,
    "h": 315
  },
  "luminance": 0.34131
}

Semantic roles & 50–950 ramp

primary
#CC7FED
secondary
#DEF2D6
accent
#D80E4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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