#CC8FEE#CC8FEE

#CC8FEE is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.5% C 0.147 H 312.7°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#CC8FEE
RGBrgb(204, 143, 238)
HSLhsl(279, 74%, 75%)
HSVhsv(279, 40%, 93%)
CMYKcmyk(14.3%, 39.9%, 0%, 6.7%)
CIE-LABlab(68.50, 39.81, -38.96)
CIE-LCHlch(68.50, 55.70, 315.62°)
OKLaboklab(74.46% 0.0994 -0.1077)
OKLCHoklch(74.46% 0.147 312.7)
XYZxyz(50.1543, 38.6563, 85.6917)
Luminance0.3866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FEE #B1EE8F
analogous
#9D8FEE #CC8FEE #EE8FE1
triadic
#CC8FEE #EECC8F #8FEECC
tetradic
#CC8FEE #EE9D8F #B1EE8F #8FE1EE
square
#CC8FEE #EE9D8F #B1EE8F #8FE1EE
split-complementary
#CC8FEE #E1EE8F #8FEE9D
monochromatic
#9C25DE #B45AE6 #CC8FEE #E4C4F6 #F3E4FB

Accessibility & contrast

On white

2.41
#CC8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#CC8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FEE
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FEE#FFFFFF#000000##000000
##CC8FEE1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F2
Deuteranopia (green-blind)
#8CA9EB
Tritanopia (blue-blind)
#C99CB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc8fee;
/* rgb */ color: rgb(204, 143, 238);
/* oklch */ color: oklch(74.5% 0.147 312.7);
Tailwind
colors: {
  custom: {
    50: '#ddb1f4',
    500: '#cc8fee',
    950: '#000000',
  },
}
SCSS
$custom: #cc8fee;
$custom-light: #ddb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8fee",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 278.526,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74455,
    "c": 0.14658,
    "h": 312.7
  },
  "luminance": 0.38655
}

Semantic roles & 50–950 ramp

primary
#CC8FEE
secondary
#E2F3D8
accent
#D61057
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CC8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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