#CC9BFB#CC9BFB

#CC9BFB is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.1% C 0.142 H 306.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#CC9BFB
RGBrgb(204, 155, 251)
HSLhsl(271, 92%, 80%)
HSVhsv(271, 38%, 98%)
CMYKcmyk(18.7%, 38.2%, 0%, 1.6%)
CIE-LABlab(71.72, 36.09, -41.03)
CIE-LCHlch(71.72, 54.65, 311.33°)
OKLaboklab(77.07% 0.0851 -0.1137)
OKLCHoklch(77.07% 0.142 306.8)
XYZxyz(54.0324, 43.2455, 96.7488)
Luminance0.4325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9BFB #CAFB9B
analogous
#9C9BFB #CC9BFB #FB9BFA
triadic
#CC9BFB #FBCC9B #9BFBCC
tetradic
#CC9BFB #FB9C9B #CAFB9B #9BFAFB
square
#CC9BFB #FB9C9B #CAFB9B #9BFAFB
split-complementary
#CC9BFB #FAFB9B #9BFB9C
monochromatic
#9025F6 #AE60F9 #CC9BFB #EAD6FD #F0E2FE

Accessibility & contrast

On white

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

On black

9.65
#CC9BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9BFB
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9BFB#FFFFFF#000000##000000
##CC9BFB1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#C5AABF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cc9bfb;
/* rgb */ color: rgb(204, 155, 251);
/* oklch */ color: oklch(77.1% 0.142 306.8);
Tailwind
colors: {
  custom: {
    50: '#ddb9fd',
    500: '#cc9bfb',
    950: '#000000',
  },
}
SCSS
$custom: #cc9bfb;
$custom-light: #ddb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9bfb",
  "rgb": {
    "r": 204,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 270.625,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77068,
    "c": 0.14206,
    "h": 306.8
  },
  "luminance": 0.43245
}

Semantic roles & 50–950 ramp

primary
#CC9BFB
secondary
#E5F6D5
accent
#E60070
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC9BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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