#CC94CC#CC94CC

#CC94CC is a light, moderate purple. Relative luminance 0.384; OKLCH L 73.9% C 0.100 H 326.5°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CC94CC
RGBrgb(204, 148, 204)
HSLhsl(300, 35%, 69%)
HSVhsv(300, 27%, 80%)
CMYKcmyk(0%, 27.5%, 0%, 20%)
CIE-LABlab(68.30, 30.31, -20.50)
CIE-LCHlch(68.30, 36.59, 325.93°)
OKLaboklab(73.87% 0.0838 -0.0554)
OKLCHoklch(73.87% 0.1 326.5)
XYZxyz(46.3898, 38.3783, 62.0791)
Luminance0.3838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94CC #94CC94
analogous
#B094CC #CC94CC #CC94B0
triadic
#CC94CC #CCCC94 #94CCCC
tetradic
#CC94CC #CCB094 #94CC94 #94B0CC
square
#CC94CC #CCB094 #94CC94 #94B0CC
split-complementary
#CC94CC #B0CC94 #94CCB0
monochromatic
#9B4A9B #B86BB8 #CC94CC #E0BDE0 #F4E7F4

Accessibility & contrast

On white

2.42
#CC94CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#CC94CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94CC
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94CC#FFFFFF#000000##000000
##CC94CC1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CE
Deuteranopia (green-blind)
#9DA9CA
Tritanopia (blue-blind)
#D099A8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc94cc;
/* rgb */ color: rgb(204, 148, 204);
/* oklch */ color: oklch(73.9% 0.100 326.5);
Tailwind
colors: {
  custom: {
    50: '#dcb4db',
    500: '#cc94cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc94cc;
$custom-light: #dcb4db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94cc",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 35.443,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73865,
    "c": 0.10042,
    "h": 326.5
  },
  "luminance": 0.38377
}

Semantic roles & 50–950 ramp

primary
#CC94CC
secondary
#D6E6D6
accent
#AE3737
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CC94CC

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

Preview Lab → · Contrast checker → · Palette generator →

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