#CC8FFD#CC8FFD

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

Color values

HEX#CC8FFD
RGBrgb(204, 143, 253)
HSLhsl(273, 96%, 78%)
HSVhsv(273, 43%, 99%)
CMYKcmyk(19.4%, 43.5%, 0%, 0.8%)
CIE-LABlab(69.17, 43.02, -46.12)
CIE-LCHlch(69.17, 63.07, 313.01°)
OKLaboklab(75.17% 0.1021 -0.1284)
OKLCHoklch(75.17% 0.164 308.5)
XYZxyz(52.4505, 39.5748, 97.7850)
Luminance0.3957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FFD #C0FD8F
analogous
#958FFD #CC8FFD #FD8FF7
triadic
#CC8FFD #FDCC8F #8FFDCC
tetradic
#CC8FFD #FD958F #C0FD8F #8FF7FD
square
#CC8FFD #FD958F #C0FD8F #8FF7FD
split-complementary
#CC8FFD #F7FD8F #8FFD95
monochromatic
#9517FB #B153FC #CC8FFD #E7CBFE #F1E1FE

Accessibility & contrast

On white

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

On black

8.91
#CC8FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FFD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FFD#FFFFFF#000000##000000
##CC8FFD1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc8ffd;
/* rgb */ color: rgb(204, 143, 253);
/* oklch */ color: oklch(75.2% 0.164 308.5);
Tailwind
colors: {
  custom: {
    50: '#ddb1fe',
    500: '#cc8ffd',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ffd;
$custom-light: #ddb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ffd",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 273.273,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75171,
    "c": 0.164,
    "h": 308.5
  },
  "luminance": 0.39574
}

Semantic roles & 50–950 ramp

primary
#CC8FFD
secondary
#E4F7D4
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CC8FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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