#CC9BF8#CC9BF8

#CC9BF8 is a light, vivid violet. Relative luminance 0.431; OKLCH L 76.9% C 0.138 H 307.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#CC9BF8
RGBrgb(204, 155, 248)
HSLhsl(272, 87%, 79%)
HSVhsv(272, 38%, 97%)
CMYKcmyk(17.7%, 37.5%, 0%, 2.7%)
CIE-LABlab(71.59, 35.43, -39.60)
CIE-LCHlch(71.59, 53.14, 311.82°)
OKLaboklab(76.93% 0.0845 -0.1096)
OKLCHoklch(76.93% 0.138 307.6)
XYZxyz(53.5632, 43.0579, 94.2780)
Luminance0.4306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9BF8 #C7F89B
analogous
#9E9BF8 #CC9BF8 #F89BF6
triadic
#CC9BF8 #F8CC9B #9BF8CC
tetradic
#CC9BF8 #F89E9B #C7F89B #9BF6F8
square
#CC9BF8 #F89E9B #C7F89B #9BF6F8
split-complementary
#CC9BF8 #F6F89B #9BF89E
monochromatic
#9229F0 #AF62F4 #CC9BF8 #E9D4FC #F0E2FD

Accessibility & contrast

On white

2.18
#CC9BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#CC9BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9BF8
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9BF8#FFFFFF#000000##000000
##CC9BF81.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ADFC
Deuteranopia (green-blind)
#93B0F5
Tritanopia (blue-blind)
#C6A9BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cc9bf8;
/* rgb */ color: rgb(204, 155, 248);
/* oklch */ color: oklch(76.9% 0.138 307.6);
Tailwind
colors: {
  custom: {
    50: '#ddb9fb',
    500: '#cc9bf8',
    950: '#000000',
  },
}
SCSS
$custom: #cc9bf8;
$custom-light: #ddb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9bf8",
  "rgb": {
    "r": 204,
    "g": 155,
    "b": 248
  },
  "hsl": {
    "h": 271.613,
    "s": 86.916,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7693,
    "c": 0.1384,
    "h": 307.6
  },
  "luminance": 0.43057
}

Semantic roles & 50–950 ramp

primary
#CC9BF8
secondary
#E5F5D6
accent
#E3026D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC9BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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