#CC4FDB#CC4FDB

#CC4FDB is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.6% C 0.226 H 323.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CC4FDB
RGBrgb(204, 79, 219)
HSLhsl(294, 66%, 58%)
HSVhsv(294, 64%, 86%)
CMYKcmyk(6.8%, 63.9%, 0%, 14.1%)
CIE-LABlab(55.63, 67.44, -48.63)
CIE-LCHlch(55.63, 83.15, 324.21°)
OKLaboklab(64.65% 0.1813 -0.1353)
OKLCHoklch(64.65% 0.226 323.3)
XYZxyz(40.4828, 23.5461, 69.4166)
Luminance0.2354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FDB #5EDB4F
analogous
#864FDB #CC4FDB #DB4FA4
triadic
#CC4FDB #DBCC4F #4FDBCC
tetradic
#CC4FDB #DB864F #5EDB4F #4FA4DB
square
#CC4FDB #DB864F #5EDB4F #4FA4DB
split-complementary
#CC4FDB #A4DB4F #4FDB86
monochromatic
#851E92 #B428C5 #CC4FDB #DB82E5 #E9B5F0

Accessibility & contrast

On white

3.68
#CC4FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CC4FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FDB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FDB#FFFFFF#000000##000000
##CC4FDB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#648AD7
Tritanopia (blue-blind)
#CF658E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc4fdb;
/* rgb */ color: rgb(204, 79, 219);
/* oklch */ color: oklch(64.6% 0.226 323.3);
Tailwind
colors: {
  custom: {
    50: '#df89e7',
    500: '#cc4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fdb;
$custom-light: #df89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fdb",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 293.571,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64649,
    "c": 0.22618,
    "h": 323.3
  },
  "luminance": 0.23544
}

Semantic roles & 50–950 ramp

primary
#CC4FDB
secondary
#ADDFA7
accent
#E93F51
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CC4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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