#CC8EEF#CC8EEF

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

Color values

HEX#CC8EEF
RGBrgb(204, 142, 239)
HSLhsl(278, 75%, 75%)
HSVhsv(278, 41%, 94%)
CMYKcmyk(14.6%, 40.6%, 0%, 6.3%)
CIE-LABlab(68.33, 40.56, -39.78)
CIE-LCHlch(68.33, 56.81, 315.55°)
OKLaboklab(74.34% 0.101 -0.1101)
OKLCHoklch(74.34% 0.149 312.6)
XYZxyz(50.1522, 38.4163, 86.4177)
Luminance0.3841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8EEF #B1EF8E
analogous
#9C8EEF #CC8EEF #EF8EE1
triadic
#CC8EEF #EFCC8E #8EEFCC
tetradic
#CC8EEF #EF9C8E #B1EF8E #8EE1EF
square
#CC8EEF #EF9C8E #B1EF8E #8EE1EF
split-complementary
#CC8EEF #E1EF8E #8EEF9C
monochromatic
#9C23E0 #B458E7 #CC8EEF #E4C4F7 #F3E4FB

Accessibility & contrast

On white

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

On black

8.68
#CC8EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8EEF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8EEF#FFFFFF#000000##000000
##CC8EEF1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F3
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#C99CB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cc8eef;
/* rgb */ color: rgb(204, 142, 239);
/* oklch */ color: oklch(74.3% 0.149 312.6);
Tailwind
colors: {
  custom: {
    50: '#ddb0f4',
    500: '#cc8eef',
    950: '#000000',
  },
}
SCSS
$custom: #cc8eef;
$custom-light: #ddb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8eef",
  "rgb": {
    "r": 204,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 278.351,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74337,
    "c": 0.14941,
    "h": 312.6
  },
  "luminance": 0.38415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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