#CC8EFF#CC8EFF

#CC8EFF is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.1% C 0.168 H 308.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CC8EFF
RGBrgb(204, 142, 255)
HSLhsl(273, 100%, 78%)
HSVhsv(273, 44%, 100%)
CMYKcmyk(20%, 44.3%, 0%, 0%)
CIE-LABlab(69.04, 44.00, -47.41)
CIE-LCHlch(69.04, 64.68, 312.86°)
OKLaboklab(75.11% 0.1037 -0.1321)
OKLCHoklch(75.11% 0.168 308.1)
XYZxyz(52.6213, 39.4040, 99.4220)
Luminance0.3940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EFF #C1FF8E
analogous
#938EFF #CC8EFF #FF8EFA
triadic
#CC8EFF #FFCC8E #8EFFCC
tetradic
#CC8EFF #FF938E #C1FF8E #8EFAFF
square
#CC8EFF #FF938E #C1FF8E #8EFAFF
split-complementary
#CC8EFF #FAFF8E #8EFF93
monochromatic
#9514FF #B051FF #CC8EFF #E8CBFF #F1E0FF

Accessibility & contrast

On white

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

On black

8.88
#CC8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EFF
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EFF#FFFFFF#000000##000000
##CC8EFF1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#83A9FC
Tritanopia (blue-blind)
#C5A0BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc8eff;
/* rgb */ color: rgb(204, 142, 255);
/* oklch */ color: oklch(75.1% 0.168 308.1);
Tailwind
colors: {
  custom: {
    50: '#ddb0ff',
    500: '#cc8eff',
    950: '#000000',
  },
}
SCSS
$custom: #cc8eff;
$custom-light: #ddb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8eff",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 272.92,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75109,
    "c": 0.16794,
    "h": 308.1
  },
  "luminance": 0.39403
}

Semantic roles & 50–950 ramp

primary
#CC8EFF
secondary
#E4F7D4
accent
#E60068
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CC8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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