#CC7FF0#CC7FF0

#CC7FF0 is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.0% C 0.175 H 314.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CC7FF0
RGBrgb(204, 127, 240)
HSLhsl(281, 79%, 72%)
HSVhsv(281, 47%, 94%)
CMYKcmyk(15%, 47.1%, 0%, 5.9%)
CIE-LABlab(65.21, 48.74, -45.22)
CIE-LCHlch(65.21, 66.49, 317.14°)
OKLaboklab(72.02% 0.1221 -0.1257)
OKLCHoklch(72.02% 0.175 314.2)
XYZxyz(48.2168, 34.3086, 86.5034)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FF0 #A3F07F
analogous
#947FF0 #CC7FF0 #F07FDC
triadic
#CC7FF0 #F0CC7F #7FF0CC
tetradic
#CC7FF0 #F0947F #A3F07F #7FDCF0
square
#CC7FF0 #F0947F #A3F07F #7FDCF0
split-complementary
#CC7FF0 #DCF07F #7FF094
monochromatic
#9D1ADB #B648EA #CC7FF0 #E2B6F6 #F4E4FC

Accessibility & contrast

On white

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

On black

7.86
#CC7FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FF0
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FF0#FFFFFF#000000##000000
##CC7FF01.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF4
Deuteranopia (green-blind)
#7DA0ED
Tritanopia (blue-blind)
#C990AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cc7ff0;
/* rgb */ color: rgb(204, 127, 240);
/* oklch */ color: oklch(72.0% 0.175 314.2);
Tailwind
colors: {
  custom: {
    50: '#dda6f5',
    500: '#cc7ff0',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ff0;
$custom-light: #dda6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ff0",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 280.885,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72017,
    "c": 0.1752,
    "h": 314.2
  },
  "luminance": 0.34307
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC7FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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