#CC7FDB#CC7FDB

#CC7FDB is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.0% C 0.153 H 320.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CC7FDB
RGBrgb(204, 127, 219)
HSLhsl(290, 56%, 68%)
HSVhsv(290, 42%, 86%)
CMYKcmyk(6.8%, 42%, 0%, 14.1%)
CIE-LABlab(64.27, 44.51, -35.05)
CIE-LCHlch(64.27, 56.65, 321.78°)
OKLaboklab(71.01% 0.1186 -0.0964)
OKLCHoklch(71.01% 0.153 320.9)
XYZxyz(45.2759, 33.1322, 71.0143)
Luminance0.3313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FDB #8EDB7F
analogous
#9E7FDB #CC7FDB #DB7FBC
triadic
#CC7FDB #DBCC7F #7FDBCC
tetradic
#CC7FDB #DB9E7F #8EDB7F #7FBCDB
square
#CC7FDB #DB9E7F #8EDB7F #7FBCDB
split-complementary
#CC7FDB #BCDB7F #7FDB9E
monochromatic
#9A31AF #B94FCE #CC7FDB #DFAFE8 #F2DFF6

Accessibility & contrast

On white

2.75
#CC7FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CC7FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FDB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FDB#FFFFFF#000000##000000
##CC7FDB1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DE
Deuteranopia (green-blind)
#879FD8
Tritanopia (blue-blind)
#CE8AA3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc7fdb;
/* rgb */ color: rgb(204, 127, 219);
/* oklch */ color: oklch(71.0% 0.153 320.9);
Tailwind
colors: {
  custom: {
    50: '#dda6e6',
    500: '#cc7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fdb;
$custom-light: #dda6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fdb",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 290.217,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71009,
    "c": 0.15284,
    "h": 320.9
  },
  "luminance": 0.33131
}

Semantic roles & 50–950 ramp

primary
#CC7FDB
secondary
#D1E9CD
accent
#C4223C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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