#CC78DB#CC78DB

#CC78DB is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.9% C 0.165 H 321.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CC78DB
RGBrgb(204, 120, 219)
HSLhsl(291, 58%, 66%)
HSVhsv(291, 45%, 86%)
CMYKcmyk(6.8%, 45.2%, 0%, 14.1%)
CIE-LABlab(62.83, 48.17, -37.29)
CIE-LCHlch(62.83, 60.92, 322.26°)
OKLaboklab(69.94% 0.1286 -0.1027)
OKLCHoklch(69.94% 0.165 321.4)
XYZxyz(44.4030, 31.3865, 70.7233)
Luminance0.3139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78DB #87DB78
analogous
#9B78DB #CC78DB #DB78B9
triadic
#CC78DB #DBCC78 #78DBCC
tetradic
#CC78DB #DB9B78 #87DB78 #78B9DB
square
#CC78DB #DB9B78 #87DB78 #78B9DB
split-complementary
#CC78DB #B9DB78 #78DB9B
monochromatic
#982EAB #BA48CE #CC78DB #DEA8E8 #F1D9F5

Accessibility & contrast

On white

2.89
#CC78DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CC78DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78DB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78DB#FFFFFF#000000##000000
##CC78DB1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DE
Deuteranopia (green-blind)
#829BD8
Tritanopia (blue-blind)
#CE849F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc78db;
/* rgb */ color: rgb(204, 120, 219);
/* oklch */ color: oklch(69.9% 0.165 321.4);
Tailwind
colors: {
  custom: {
    50: '#dda1e6',
    500: '#cc78db',
    950: '#000000',
  },
}
SCSS
$custom: #cc78db;
$custom-light: #dda1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78db",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 290.909,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69937,
    "c": 0.16461,
    "h": 321.4
  },
  "luminance": 0.31385
}

Semantic roles & 50–950 ramp

primary
#CC78DB
secondary
#CCE7C7
accent
#C52039
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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