#CC8FFC#CC8FFC

#CC8FFC is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.1% C 0.163 H 308.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CC8FFC
RGBrgb(204, 143, 252)
HSLhsl(274, 95%, 77%)
HSVhsv(274, 43%, 99%)
CMYKcmyk(19%, 43.3%, 0%, 1.2%)
CIE-LABlab(69.12, 42.81, -45.65)
CIE-LCHlch(69.12, 62.58, 313.16°)
OKLaboklab(75.12% 0.1019 -0.127)
OKLCHoklch(75.12% 0.163 308.7)
XYZxyz(52.2917, 39.5112, 96.9483)
Luminance0.3951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FFC #BFFC8F
analogous
#958FFC #CC8FFC #FC8FF6
triadic
#CC8FFC #FCCC8F #8FFCCC
tetradic
#CC8FFC #FC958F #BFFC8F #8FF6FC
square
#CC8FFC #FC958F #BFFC8F #8FF6FC
split-complementary
#CC8FFC #F6FC8F #8FFC95
monochromatic
#9618F9 #B153FA #CC8FFC #E7CBFE #F1E1FE

Accessibility & contrast

On white

2.36
#CC8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#CC8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FFC
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FFC#FFFFFF#000000##000000
##CC8FFC1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#85AAF9
Tritanopia (blue-blind)
#C6A0BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc8ffc;
/* rgb */ color: rgb(204, 143, 252);
/* oklch */ color: oklch(75.1% 0.163 308.7);
Tailwind
colors: {
  custom: {
    50: '#ddb1fe',
    500: '#cc8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ffc;
$custom-light: #ddb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ffc",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 273.578,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75122,
    "c": 0.16283,
    "h": 308.7
  },
  "luminance": 0.39511
}

Semantic roles & 50–950 ramp

primary
#CC8FFC
secondary
#E3F6D5
accent
#E60065
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CC8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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