#CC94DB#CC94DB

#CC94DB is a light, moderate purple. Relative luminance 0.391; OKLCH L 74.5% C 0.116 H 319.0°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#CC94DB
RGBrgb(204, 148, 219)
HSLhsl(287, 50%, 72%)
HSVhsv(287, 32%, 86%)
CMYKcmyk(6.8%, 32.4%, 0%, 14.1%)
CIE-LABlab(68.85, 33.21, -27.97)
CIE-LCHlch(68.85, 43.42, 319.90°)
OKLaboklab(74.46% 0.0879 -0.0764)
OKLCHoklch(74.46% 0.116 319)
XYZxyz(48.2762, 39.1329, 72.0144)
Luminance0.3913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC94DB #A3DB94
analogous
#A994DB #CC94DB #DB94C7
triadic
#CC94DB #DBCC94 #94DBCC
tetradic
#CC94DB #DBA994 #A3DB94 #94C7DB
square
#CC94DB #DBA994 #A3DB94 #94C7DB
split-complementary
#CC94DB #C7DB94 #94DBA9
monochromatic
#9D3EB7 #B666CC #CC94DB #E2C2EA #F4E8F7

Accessibility & contrast

On white

2.38
#CC94DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#CC94DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC94DB
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC94DB#FFFFFF#000000##000000
##CC94DB1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DE
Deuteranopia (green-blind)
#98AAD9
Tritanopia (blue-blind)
#CD9CAE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cc94db;
/* rgb */ color: rgb(204, 148, 219);
/* oklch */ color: oklch(74.5% 0.116 319.0);
Tailwind
colors: {
  custom: {
    50: '#dcb4e6',
    500: '#cc94db',
    950: '#000000',
  },
}
SCSS
$custom: #cc94db;
$custom-light: #dcb4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc94db",
  "rgb": {
    "r": 204,
    "g": 148,
    "b": 219
  },
  "hsl": {
    "h": 287.324,
    "s": 49.65,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74464,
    "c": 0.11643,
    "h": 319
  },
  "luminance": 0.39132
}

Semantic roles & 50–950 ramp

primary
#CC94DB
secondary
#E0EEDD
accent
#BD2948
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CC94DB

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

Preview Lab → · Contrast checker → · Palette generator →

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