#CC8BEE#CC8BEE

#CC8BEE is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.8% C 0.153 H 313.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CC8BEE
RGBrgb(204, 139, 238)
HSLhsl(279, 74%, 74%)
HSVhsv(279, 42%, 93%)
CMYKcmyk(14.3%, 41.6%, 0%, 6.7%)
CIE-LABlab(67.63, 41.96, -40.32)
CIE-LCHlch(67.63, 58.19, 316.15°)
OKLaboklab(73.8% 0.1051 -0.1116)
OKLCHoklch(73.8% 0.153 313.3)
XYZxyz(49.5645, 37.4767, 85.4951)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BEE #ADEE8B
analogous
#9B8BEE #CC8BEE #EE8BDF
triadic
#CC8BEE #EECC8B #8BEECC
tetradic
#CC8BEE #EE9B8B #ADEE8B #8BDFEE
square
#CC8BEE #EE9B8B #ADEE8B #8BDFEE
split-complementary
#CC8BEE #DFEE8B #8BEE9B
monochromatic
#9D21DE #B556E6 #CC8BEE #E3C0F6 #F3E4FB

Accessibility & contrast

On white

2.47
#CC8BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#CC8BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BEE
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BEE#FFFFFF#000000##000000
##CC8BEE1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#89A6EB
Tritanopia (blue-blind)
#C999B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8bee;
/* rgb */ color: rgb(204, 139, 238);
/* oklch */ color: oklch(73.8% 0.153 313.3);
Tailwind
colors: {
  custom: {
    50: '#ddaef4',
    500: '#cc8bee',
    950: '#000000',
  },
}
SCSS
$custom: #cc8bee;
$custom-light: #ddaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8bee",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 279.394,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73801,
    "c": 0.15327,
    "h": 313.3
  },
  "luminance": 0.37476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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