#CC7FCB#CC7FCB

#CC7FCB is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.3% C 0.137 H 327.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CC7FCB
RGBrgb(204, 127, 203)
HSLhsl(301, 43%, 65%)
HSVhsv(301, 38%, 80%)
CMYKcmyk(0%, 37.7%, 0.5%, 20%)
CIE-LABlab(63.61, 41.47, -27.11)
CIE-LCHlch(63.61, 49.55, 326.83°)
OKLaboklab(70.3% 0.1152 -0.0738)
OKLCHoklch(70.3% 0.137 327.4)
XYZxyz(43.2699, 32.3298, 60.4494)
Luminance0.3233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FCB #7FCC80
analogous
#A67FCC #CC7FCB #CC7FA5
triadic
#CC7FCB #CBCC7F #7FCBCC
tetradic
#CC7FCB #CCA67F #7FCC80 #7FA5CC
square
#CC7FCB #CCA67F #7FCC80 #7FA5CC
split-complementary
#CC7FCB #A5CC7F #7FCCA6
monochromatic
#953B94 #BB53B9 #CC7FCB #DDABDD #EFD7EF

Accessibility & contrast

On white

2.81
#CC7FCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CC7FCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FCB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FCB#FFFFFF#000000##000000
##CC7FCB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CE
Deuteranopia (green-blind)
#8D9EC8
Tritanopia (blue-blind)
#D1869C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7fcb;
/* rgb */ color: rgb(204, 127, 203);
/* oklch */ color: oklch(70.3% 0.137 327.4);
Tailwind
colors: {
  custom: {
    50: '#dda6db',
    500: '#cc7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fcb;
$custom-light: #dda6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fcb",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 300.779,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70304,
    "c": 0.13679,
    "h": 327.4
  },
  "luminance": 0.32328
}

Semantic roles & 50–950 ramp

primary
#CC7FCB
secondary
#C6E1C7
accent
#B6312F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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