#CC5FDB#CC5FDB

#CC5FDB is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.5% C 0.204 H 322.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#CC5FDB
RGBrgb(204, 95, 219)
HSLhsl(293, 63%, 62%)
HSVhsv(293, 57%, 86%)
CMYKcmyk(6.8%, 56.6%, 0%, 14.1%)
CIE-LABlab(58.17, 60.48, -44.61)
CIE-LCHlch(58.17, 75.15, 323.58°)
OKLaboklab(66.49% 0.1622 -0.1237)
OKLCHoklch(66.49% 0.204 322.7)
XYZxyz(41.7789, 26.1383, 69.8487)
Luminance0.2614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FDB #6EDB5F
analogous
#8E5FDB #CC5FDB #DB5FAC
triadic
#CC5FDB #DBCC5F #5FDBCC
tetradic
#CC5FDB #DB8E5F #6EDB5F #5FACDB
square
#CC5FDB #DB8E5F #6EDB5F #5FACDB
split-complementary
#CC5FDB #ACDB5F #5FDB8E
monochromatic
#8E239C #BB2ECE #CC5FDB #DC91E6 #ECC3F1

Accessibility & contrast

On white

3.37
#CC5FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#CC5FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FDB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FDB#FFFFFF#000000##000000
##CC5FDB1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984DF
Deuteranopia (green-blind)
#6F90D8
Tritanopia (blue-blind)
#CF7194
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5fdb;
/* rgb */ color: rgb(204, 95, 219);
/* oklch */ color: oklch(66.5% 0.204 322.7);
Tailwind
colors: {
  custom: {
    50: '#de92e6',
    500: '#cc5fdb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fdb;
$custom-light: #de92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fdb",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 292.742,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66493,
    "c": 0.204,
    "h": 322.7
  },
  "luminance": 0.26136
}

Semantic roles & 50–950 ramp

primary
#CC5FDB
secondary
#B9E2B4
accent
#CB1A30
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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