#CC8AEE#CC8AEE

#CC8AEE is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.6% C 0.155 H 313.4°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CC8AEE
RGBrgb(204, 138, 238)
HSLhsl(280, 75%, 74%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(14.3%, 42%, 0%, 6.7%)
CIE-LABlab(67.42, 42.50, -40.65)
CIE-LCHlch(67.42, 58.81, 316.27°)
OKLaboklab(73.64% 0.1065 -0.1125)
OKLCHoklch(73.64% 0.155 313.4)
XYZxyz(49.4204, 37.1884, 85.4470)
Luminance0.3719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8AEE #ACEE8A
analogous
#9A8AEE #CC8AEE #EE8ADE
triadic
#CC8AEE #EECC8A #8AEECC
tetradic
#CC8AEE #EE9A8A #ACEE8A #8ADEEE
square
#CC8AEE #EE9A8A #ACEE8A #8ADEEE
split-complementary
#CC8AEE #DEEE8A #8AEE9A
monochromatic
#9D20DD #B555E6 #CC8AEE #E3BFF6 #F3E4FB

Accessibility & contrast

On white

2.49
#CC8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CC8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8AEE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8AEE#FFFFFF#000000##000000
##CC8AEE1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F2
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#C998B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc8aee;
/* rgb */ color: rgb(204, 138, 238);
/* oklch */ color: oklch(73.6% 0.155 313.4);
Tailwind
colors: {
  custom: {
    50: '#ddadf4',
    500: '#cc8aee',
    950: '#000000',
  },
}
SCSS
$custom: #cc8aee;
$custom-light: #ddadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8aee",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 279.6,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7364,
    "c": 0.15494,
    "h": 313.4
  },
  "luminance": 0.37187
}

Semantic roles & 50–950 ramp

primary
#CC8AEE
secondary
#E1F3D8
accent
#D70F53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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