#CC8BE8#CC8BE8

#CC8BE8 is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.5% C 0.147 H 315.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#CC8BE8
RGBrgb(204, 139, 232)
HSLhsl(282, 67%, 73%)
HSVhsv(282, 40%, 91%)
CMYKcmyk(12.1%, 40.1%, 0%, 9%)
CIE-LABlab(67.37, 40.72, -37.42)
CIE-LCHlch(67.37, 55.30, 317.42°)
OKLaboklab(73.52% 0.104 -0.1032)
OKLCHoklch(73.52% 0.147 315.2)
XYZxyz(48.6977, 37.1300, 80.9298)
Luminance0.3713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BE8 #A7E88B
analogous
#9D8BE8 #CC8BE8 #E88BD6
triadic
#CC8BE8 #E8CC8B #8BE8CC
tetradic
#CC8BE8 #E89D8B #A7E88B #8BD6E8
square
#CC8BE8 #E89D8B #A7E88B #8BD6E8
split-complementary
#CC8BE8 #D6E88B #8BE89D
monochromatic
#9D29CF #B658DE #CC8BE8 #E2BEF2 #F4E5FA

Accessibility & contrast

On white

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

On black

8.43
#CC8BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BE8
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BE8#FFFFFF#000000##000000
##CC8BE81.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA0EB
Deuteranopia (green-blind)
#8BA6E5
Tritanopia (blue-blind)
#CB98AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc8be8;
/* rgb */ color: rgb(204, 139, 232);
/* oklch */ color: oklch(73.5% 0.147 315.2);
Tailwind
colors: {
  custom: {
    50: '#ddaeef',
    500: '#cc8be8',
    950: '#000000',
  },
}
SCSS
$custom: #cc8be8;
$custom-light: #ddaeef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8be8",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 232
  },
  "hsl": {
    "h": 281.935,
    "s": 66.906,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73522,
    "c": 0.14651,
    "h": 315.2
  },
  "luminance": 0.37129
}

Semantic roles & 50–950 ramp

primary
#CC8BE8
secondary
#E1F1DA
accent
#CF174E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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