#CC8FFE#CC8FFE

#CC8FFE is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.2% C 0.165 H 308.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CC8FFE
RGBrgb(204, 143, 254)
HSLhsl(273, 98%, 78%)
HSVhsv(273, 44%, 100%)
CMYKcmyk(19.7%, 43.7%, 0%, 0.4%)
CIE-LABlab(69.21, 43.24, -46.60)
CIE-LCHlch(69.21, 63.57, 312.86°)
OKLaboklab(75.22% 0.1022 -0.1297)
OKLCHoklch(75.22% 0.165 308.2)
XYZxyz(52.6102, 39.6387, 98.6262)
Luminance0.3964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FFE #C1FE8F
analogous
#948FFE #CC8FFE #FE8FF8
triadic
#CC8FFE #FECC8F #8FFECC
tetradic
#CC8FFE #FE948F #C1FE8F #8FF8FE
square
#CC8FFE #FE948F #C1FE8F #8FF8FE
split-complementary
#CC8FFE #F8FE8F #8FFE94
monochromatic
#9516FD #B052FD #CC8FFE #E8CCFF #F1E1FF

Accessibility & contrast

On white

2.35
#CC8FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CC8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FFE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FFE#FFFFFF#000000##000000
##CC8FFE1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#84AAFB
Tritanopia (blue-blind)
#C5A1BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cc8ffe;
/* rgb */ color: rgb(204, 143, 254);
/* oklch */ color: oklch(75.2% 0.165 308.2);
Tailwind
colors: {
  custom: {
    50: '#ddb1ff',
    500: '#cc8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ffe;
$custom-light: #ddb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ffe",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 272.973,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75221,
    "c": 0.16517,
    "h": 308.2
  },
  "luminance": 0.39638
}

Semantic roles & 50–950 ramp

primary
#CC8FFE
secondary
#E4F7D4
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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