#CC78CB#CC78CB

#CC78CB is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.2% C 0.149 H 327.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CC78CB
RGBrgb(204, 120, 203)
HSLhsl(301, 45%, 64%)
HSVhsv(301, 41%, 80%)
CMYKcmyk(0%, 41.2%, 0.5%, 20%)
CIE-LABlab(62.16, 45.16, -29.36)
CIE-LCHlch(62.16, 53.87, 326.97°)
OKLaboklab(69.21% 0.1255 -0.0801)
OKLCHoklch(69.21% 0.149 327.5)
XYZxyz(42.3970, 30.5841, 60.1584)
Luminance0.3058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78CB #78CC79
analogous
#A378CC #CC78CB #CC78A1
triadic
#CC78CB #CBCC78 #78CBCC
tetradic
#CC78CB #CCA378 #78CC79 #78A1CC
square
#CC78CB #CCA378 #78CC79 #78A1CC
split-complementary
#CC78CB #A1CC78 #78CCA3
monochromatic
#923791 #BB4CBA #CC78CB #DDA4DC #EED1ED

Accessibility & contrast

On white

2.95
#CC78CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CC78CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78CB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78CB#FFFFFF#000000##000000
##CC78CB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCE
Deuteranopia (green-blind)
#889AC8
Tritanopia (blue-blind)
#D18098
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc78cb;
/* rgb */ color: rgb(204, 120, 203);
/* oklch */ color: oklch(69.2% 0.149 327.5);
Tailwind
colors: {
  custom: {
    50: '#dda1db',
    500: '#cc78cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc78cb;
$custom-light: #dda1db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78cb",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 300.714,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69208,
    "c": 0.14891,
    "h": 327.5
  },
  "luminance": 0.30582
}

Semantic roles & 50–950 ramp

primary
#CC78CB
secondary
#C1DFC1
accent
#B82F2D
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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