#CC8EEE#CC8EEE

#CC8EEE is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.3% C 0.148 H 312.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#CC8EEE
RGBrgb(204, 142, 238)
HSLhsl(279, 74%, 75%)
HSVhsv(279, 40%, 93%)
CMYKcmyk(14.3%, 40.3%, 0%, 6.7%)
CIE-LABlab(68.28, 40.35, -39.30)
CIE-LCHlch(68.28, 56.33, 315.75°)
OKLaboklab(74.29% 0.1009 -0.1087)
OKLCHoklch(74.29% 0.148 312.9)
XYZxyz(50.0049, 38.3574, 85.6418)
Luminance0.3836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EEE #B0EE8E
analogous
#9C8EEE #CC8EEE #EE8EE0
triadic
#CC8EEE #EECC8E #8EEECC
tetradic
#CC8EEE #EE9C8E #B0EE8E #8EE0EE
square
#CC8EEE #EE9C8E #B0EE8E #8EE0EE
split-complementary
#CC8EEE #E0EE8E #8EEE9C
monochromatic
#9C24DE #B459E6 #CC8EEE #E4C3F6 #F3E4FB

Accessibility & contrast

On white

2.42
#CC8EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#CC8EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EEE
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EEE#FFFFFF#000000##000000
##CC8EEE1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#8BA8EB
Tritanopia (blue-blind)
#C99CB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc8eee;
/* rgb */ color: rgb(204, 142, 238);
/* oklch */ color: oklch(74.3% 0.148 312.9);
Tailwind
colors: {
  custom: {
    50: '#ddb0f4',
    500: '#cc8eee',
    950: '#000000',
  },
}
SCSS
$custom: #cc8eee;
$custom-light: #ddb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8eee",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 278.75,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7429,
    "c": 0.14826,
    "h": 312.9
  },
  "luminance": 0.38356
}

Semantic roles & 50–950 ramp

primary
#CC8EEE
secondary
#E2F3D8
accent
#D61056
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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