#CC9BEB#CC9BEB

#CC9BEB is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.4% C 0.123 H 311.7°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CC9BEB
RGBrgb(204, 155, 235)
HSLhsl(277, 67%, 76%)
HSVhsv(277, 34%, 92%)
CMYKcmyk(13.2%, 34%, 0%, 7.8%)
CIE-LABlab(71.06, 32.66, -33.34)
CIE-LCHlch(71.06, 46.67, 314.41°)
OKLaboklab(76.35% 0.0816 -0.0917)
OKLCHoklch(76.35% 0.123 311.7)
XYZxyz(51.6160, 42.2790, 84.0227)
Luminance0.4228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9BEB #BAEB9B
analogous
#A49BEB #CC9BEB #EB9BE2
triadic
#CC9BEB #EBCC9B #9BEBCC
tetradic
#CC9BEB #EBA49B #BAEB9B #9BE2EB
square
#CC9BEB #EBA49B #BAEB9B #9BE2EB
split-complementary
#CC9BEB #E2EB9B #9BEBA4
monochromatic
#9835D7 #B268E1 #CC9BEB #E6CEF5 #F2E5FA

Accessibility & contrast

On white

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

On black

9.46
#CC9BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9BEB
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9BEB#FFFFFF#000000##000000
##CC9BEB1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEE
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#C9A6B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cc9beb;
/* rgb */ color: rgb(204, 155, 235);
/* oklch */ color: oklch(76.4% 0.123 311.7);
Tailwind
colors: {
  custom: {
    50: '#dcb9f1',
    500: '#cc9beb',
    950: '#000000',
  },
}
SCSS
$custom: #cc9beb;
$custom-light: #dcb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9beb",
  "rgb": {
    "r": 204,
    "g": 155,
    "b": 235
  },
  "hsl": {
    "h": 276.75,
    "s": 66.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76352,
    "c": 0.12274,
    "h": 311.7
  },
  "luminance": 0.42278
}

Semantic roles & 50–950 ramp

primary
#CC9BEB
secondary
#E3F1DA
accent
#CF175E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC9BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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