#CC9BEA#CC9BEA

#CC9BEA is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.3% C 0.122 H 312.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CC9BEA
RGBrgb(204, 155, 234)
HSLhsl(277, 65%, 76%)
HSVhsv(277, 34%, 92%)
CMYKcmyk(12.8%, 33.8%, 0%, 8.2%)
CIE-LABlab(71.02, 32.45, -32.85)
CIE-LCHlch(71.02, 46.18, 314.65°)
OKLaboklab(76.31% 0.0814 -0.0903)
OKLCHoklch(76.31% 0.122 312)
XYZxyz(51.4719, 42.2214, 83.2640)
Luminance0.4222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9BEA #B9EA9B
analogous
#A59BEA #CC9BEA #EA9BE1
triadic
#CC9BEA #EACC9B #9BEACC
tetradic
#CC9BEA #EAA59B #B9EA9B #9BE1EA
square
#CC9BEA #EAA59B #B9EA9B #9BE1EA
split-complementary
#CC9BEA #E1EA9B #9BEAA5
monochromatic
#9836D5 #B268DF #CC9BEA #E6CEF5 #F2E6FA

Accessibility & contrast

On white

2.22
#CC9BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#CC9BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9BEA
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9BEA#FFFFFF#000000##000000
##CC9BEA1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#C9A6B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cc9bea;
/* rgb */ color: rgb(204, 155, 234);
/* oklch */ color: oklch(76.3% 0.122 312.0);
Tailwind
colors: {
  custom: {
    50: '#dcb9f1',
    500: '#cc9bea',
    950: '#000000',
  },
}
SCSS
$custom: #cc9bea;
$custom-light: #dcb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9bea",
  "rgb": {
    "r": 204,
    "g": 155,
    "b": 234
  },
  "hsl": {
    "h": 277.215,
    "s": 65.289,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76309,
    "c": 0.12155,
    "h": 312
  },
  "luminance": 0.42221
}

Semantic roles & 50–950 ramp

primary
#CC9BEA
secondary
#E3F1DA
accent
#CD185D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC9BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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