#CC9BFA#CC9BFA

#CC9BFA is a light, vivid violet. Relative luminance 0.432; OKLCH L 77.0% C 0.141 H 307.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#CC9BFA
RGBrgb(204, 155, 250)
HSLhsl(271, 90%, 79%)
HSVhsv(271, 38%, 98%)
CMYKcmyk(18.4%, 38%, 0%, 2%)
CIE-LABlab(71.68, 35.87, -40.56)
CIE-LCHlch(71.68, 54.14, 311.49°)
OKLaboklab(77.02% 0.0849 -0.1123)
OKLCHoklch(77.02% 0.141 307.1)
XYZxyz(53.8752, 43.1826, 95.9208)
Luminance0.4318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9BFA #C9FA9B
analogous
#9D9BFA #CC9BFA #FA9BF9
triadic
#CC9BFA #FACC9B #9BFACC
tetradic
#CC9BFA #FA9D9B #C9FA9B #9BF9FA
square
#CC9BFA #FA9D9B #C9FA9B #9BF9FA
split-complementary
#CC9BFA #F9FA9B #9BFA9D
monochromatic
#9126F4 #AE61F7 #CC9BFA #EAD5FD #F0E2FE

Accessibility & contrast

On white

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

On black

9.64
#CC9BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9BFA
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9BFA#FFFFFF#000000##000000
##CC9BFA1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#92B0F7
Tritanopia (blue-blind)
#C6A9BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cc9bfa;
/* rgb */ color: rgb(204, 155, 250);
/* oklch */ color: oklch(77.0% 0.141 307.1);
Tailwind
colors: {
  custom: {
    50: '#ddb9fc',
    500: '#cc9bfa',
    950: '#000000',
  },
}
SCSS
$custom: #cc9bfa;
$custom-light: #ddb9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9bfa",
  "rgb": {
    "r": 204,
    "g": 155,
    "b": 250
  },
  "hsl": {
    "h": 270.947,
    "s": 90.476,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77022,
    "c": 0.14085,
    "h": 307.1
  },
  "luminance": 0.43182
}

Semantic roles & 50–950 ramp

primary
#CC9BFA
secondary
#E5F6D5
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CC9BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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