#CC9BF4#CC9BF4

#CC9BF4 is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.7% C 0.134 H 308.8°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CC9BF4
RGBrgb(204, 155, 244)
HSLhsl(273, 80%, 78%)
HSVhsv(273, 36%, 96%)
CMYKcmyk(16.4%, 36.5%, 0%, 4.3%)
CIE-LABlab(71.43, 34.57, -37.68)
CIE-LCHlch(71.43, 51.14, 312.53°)
OKLaboklab(76.75% 0.0837 -0.1041)
OKLCHoklch(76.75% 0.134 308.8)
XYZxyz(52.9493, 42.8123, 91.0446)
Luminance0.4281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9BF4 #C3F49B
analogous
#9F9BF4 #CC9BF4 #F49BEF
triadic
#CC9BF4 #F4CC9B #9BF4CC
tetradic
#CC9BF4 #F49F9B #C3F49B #9BEFF4
square
#CC9BF4 #F49F9B #C3F49B #9BEFF4
split-complementary
#CC9BF4 #EFF49B #9BF49F
monochromatic
#942DE8 #B064EE #CC9BF4 #E8D2FA #F1E3FC

Accessibility & contrast

On white

2.20
#CC9BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#CC9BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9BF4
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9BF4#FFFFFF#000000##000000
##CC9BF41.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ADF7
Deuteranopia (green-blind)
#94B0F1
Tritanopia (blue-blind)
#C7A8BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cc9bf4;
/* rgb */ color: rgb(204, 155, 244);
/* oklch */ color: oklch(76.7% 0.134 308.8);
Tailwind
colors: {
  custom: {
    50: '#ddb9f8',
    500: '#cc9bf4',
    950: '#000000',
  },
}
SCSS
$custom: #cc9bf4;
$custom-light: #ddb9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9bf4",
  "rgb": {
    "r": 204,
    "g": 155,
    "b": 244
  },
  "hsl": {
    "h": 273.034,
    "s": 80.18,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76749,
    "c": 0.13356,
    "h": 308.8
  },
  "luminance": 0.42812
}

Semantic roles & 50–950 ramp

primary
#CC9BF4
secondary
#E4F4D7
accent
#DD0968
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC9BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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