#CC9CFA#CC9CFA

#CC9CFA is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.2% C 0.139 H 306.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#CC9CFA
RGBrgb(204, 156, 250)
HSLhsl(271, 90%, 80%)
HSVhsv(271, 38%, 98%)
CMYKcmyk(18.4%, 37.6%, 0%, 2%)
CIE-LABlab(71.90, 35.33, -40.20)
CIE-LCHlch(71.90, 53.52, 311.30°)
OKLaboklab(77.19% 0.0835 -0.1113)
OKLCHoklch(77.19% 0.139 306.9)
XYZxyz(54.0423, 43.5169, 95.9765)
Luminance0.4352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9CFA #CAFA9C
analogous
#9D9CFA #CC9CFA #FA9CF9
triadic
#CC9CFA #FACC9C #9CFACC
tetradic
#CC9CFA #FA9D9C #CAFA9C #9CF9FA
square
#CC9CFA #FA9D9C #CAFA9C #9CF9FA
split-complementary
#CC9CFA #F9FA9C #9CFA9D
monochromatic
#9027F4 #AE62F7 #CC9CFA #EAD6FD #F0E2FE

Accessibility & contrast

On white

2.16
#CC9CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#CC9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9CFA
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9CFA#FFFFFF#000000##000000
##CC9CFA1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#C6AABF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cc9cfa;
/* rgb */ color: rgb(204, 156, 250);
/* oklch */ color: oklch(77.2% 0.139 306.9);
Tailwind
colors: {
  custom: {
    50: '#ddbafc',
    500: '#cc9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #cc9cfa;
$custom-light: #ddbafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9cfa",
  "rgb": {
    "r": 204,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 270.638,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77193,
    "c": 0.1392,
    "h": 306.9
  },
  "luminance": 0.43516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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