#CC81F0#CC81F0

#CC81F0 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.3% C 0.172 H 313.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CC81F0
RGBrgb(204, 129, 240)
HSLhsl(281, 79%, 72%)
HSVhsv(281, 46%, 94%)
CMYKcmyk(15%, 46.3%, 0%, 5.9%)
CIE-LABlab(65.62, 47.69, -44.58)
CIE-LCHlch(65.62, 65.28, 316.93°)
OKLaboklab(72.32% 0.1193 -0.1238)
OKLCHoklch(72.32% 0.172 313.9)
XYZxyz(48.4777, 34.8303, 86.5904)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC81F0 #A5F081
analogous
#9581F0 #CC81F0 #F081DC
triadic
#CC81F0 #F0CC81 #81F0CC
tetradic
#CC81F0 #F09581 #A5F081 #81DCF0
square
#CC81F0 #F09581 #A5F081 #81DCF0
split-complementary
#CC81F0 #DCF081 #81F095
monochromatic
#9D1ADC #B64AE9 #CC81F0 #E2B8F7 #F4E4FC

Accessibility & contrast

On white

2.64
#CC81F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#CC81F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC81F0
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC81F0#FFFFFF#000000##000000
##CC81F01.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF4
Deuteranopia (green-blind)
#7FA1ED
Tritanopia (blue-blind)
#C992AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc81f0;
/* rgb */ color: rgb(204, 129, 240);
/* oklch */ color: oklch(72.3% 0.172 313.9);
Tailwind
colors: {
  custom: {
    50: '#dda7f5',
    500: '#cc81f0',
    950: '#000000',
  },
}
SCSS
$custom: #cc81f0;
$custom-light: #dda7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc81f0",
  "rgb": {
    "r": 204,
    "g": 129,
    "b": 240
  },
  "hsl": {
    "h": 280.541,
    "s": 78.723,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72322,
    "c": 0.17196,
    "h": 313.9
  },
  "luminance": 0.34829
}

Semantic roles & 50–950 ramp

primary
#CC81F0
secondary
#E1F4D7
accent
#DB0A4E
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CC81F0

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

Preview Lab → · Contrast checker → · Palette generator →

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