#CC8FF5#CC8FF5

#CC8FF5 is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.8% C 0.155 H 310.6°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CC8FF5
RGBrgb(204, 143, 245)
HSLhsl(276, 84%, 76%)
HSVhsv(276, 42%, 96%)
CMYKcmyk(16.7%, 41.6%, 0%, 3.9%)
CIE-LABlab(68.81, 41.29, -42.32)
CIE-LCHlch(68.81, 59.13, 314.30°)
OKLaboklab(74.78% 0.1007 -0.1174)
OKLCHoklch(74.78% 0.155 310.6)
XYZxyz(51.2028, 39.0757, 91.2135)
Luminance0.3907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8FF5 #B8F58F
analogous
#998FF5 #CC8FF5 #F58FEB
triadic
#CC8FF5 #F5CC8F #8FF5CC
tetradic
#CC8FF5 #F5998F #B8F58F #8FEBF5
square
#CC8FF5 #F5998F #B8F58F #8FEBF5
split-complementary
#CC8FF5 #EBF58F #8FF599
monochromatic
#991FEB #B257F0 #CC8FF5 #E6C7FA #F2E3FC

Accessibility & contrast

On white

2.38
#CC8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CC8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8FF5
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8FF5#FFFFFF#000000##000000
##CC8FF51.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA5F9
Deuteranopia (green-blind)
#89A9F2
Tritanopia (blue-blind)
#C79EB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc8ff5;
/* rgb */ color: rgb(204, 143, 245);
/* oklch */ color: oklch(74.8% 0.155 310.6);
Tailwind
colors: {
  custom: {
    50: '#ddb1f9',
    500: '#cc8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ff5;
$custom-light: #ddb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ff5",
  "rgb": {
    "r": 204,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 275.882,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74784,
    "c": 0.15467,
    "h": 310.6
  },
  "luminance": 0.39075
}

Semantic roles & 50–950 ramp

primary
#CC8FF5
secondary
#E3F4D7
accent
#E0055D
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CC8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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