#CC7FF1#CC7FF1

#CC7FF1 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.176 H 313.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CC7FF1
RGBrgb(204, 127, 241)
HSLhsl(281, 80%, 72%)
HSVhsv(281, 47%, 95%)
CMYKcmyk(15.4%, 47.3%, 0%, 5.5%)
CIE-LABlab(65.25, 48.95, -45.70)
CIE-LCHlch(65.25, 66.97, 316.97°)
OKLaboklab(72.07% 0.1222 -0.1271)
OKLCHoklch(72.07% 0.176 313.9)
XYZxyz(48.3658, 34.3682, 87.2879)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FF1 #A4F17F
analogous
#937FF1 #CC7FF1 #F17FDD
triadic
#CC7FF1 #F1CC7F #7FF1CC
tetradic
#CC7FF1 #F1937F #A4F17F #7FDDF1
square
#CC7FF1 #F1937F #A4F17F #7FDDF1
split-complementary
#CC7FF1 #DDF17F #7FF193
monochromatic
#9D18DD #B648EB #CC7FF1 #E2B6F7 #F4E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7FF1#FFFFFF#000000##000000
##CC7FF11.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)
#679AF5
Deuteranopia (green-blind)
#7DA0EE
Tritanopia (blue-blind)
#C990AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7ff1;
/* rgb */ color: rgb(204, 127, 241);
/* oklch */ color: oklch(72.1% 0.176 313.9);
Tailwind
colors: {
  custom: {
    50: '#dda6f6',
    500: '#cc7ff1',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ff1;
$custom-light: #dda6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ff1",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 280.526,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72067,
    "c": 0.17628,
    "h": 313.9
  },
  "luminance": 0.34367
}

Semantic roles & 50–950 ramp

primary
#CC7FF1
secondary
#E0F4D7
accent
#DD094E
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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