#CC8BED#CC8BED

#CC8BED is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.8% C 0.152 H 313.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CC8BED
RGBrgb(204, 139, 237)
HSLhsl(280, 73%, 74%)
HSVhsv(280, 41%, 93%)
CMYKcmyk(13.9%, 41.4%, 0%, 7.1%)
CIE-LABlab(67.59, 41.76, -39.84)
CIE-LCHlch(67.59, 57.71, 316.35°)
OKLaboklab(73.75% 0.1049 -0.1102)
OKLCHoklch(73.75% 0.152 313.6)
XYZxyz(49.4180, 37.4181, 84.7235)
Luminance0.3742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8BED #ACED8B
analogous
#9B8BED #CC8BED #ED8BDD
triadic
#CC8BED #EDCC8B #8BEDCC
tetradic
#CC8BED #ED9B8B #ACED8B #8BDDED
square
#CC8BED #ED9B8B #ACED8B #8BDDED
split-complementary
#CC8BED #DDED8B #8BED9B
monochromatic
#9D22DC #B556E5 #CC8BED #E3C0F5 #F3E5FB

Accessibility & contrast

On white

2.48
#CC8BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CC8BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8BED
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8BED#FFFFFF#000000##000000
##CC8BED1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F1
Deuteranopia (green-blind)
#89A6EA
Tritanopia (blue-blind)
#C999B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc8bed;
/* rgb */ color: rgb(204, 139, 237);
/* oklch */ color: oklch(73.8% 0.152 313.6);
Tailwind
colors: {
  custom: {
    50: '#ddaef3',
    500: '#cc8bed',
    950: '#000000',
  },
}
SCSS
$custom: #cc8bed;
$custom-light: #ddaef3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8bed",
  "rgb": {
    "r": 204,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 279.796,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73754,
    "c": 0.15214,
    "h": 313.6
  },
  "luminance": 0.37417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC8BED

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

Preview Lab → · Contrast checker → · Palette generator →

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