#CC7CCF#CC7CCF

#CC7CCF is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.0% C 0.146 H 325.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CC7CCF
RGBrgb(204, 124, 207)
HSLhsl(298, 46%, 65%)
HSVhsv(298, 40%, 81%)
CMYKcmyk(1.4%, 40.1%, 0%, 18.8%)
CIE-LABlab(63.14, 43.80, -30.08)
CIE-LCHlch(63.14, 53.14, 325.52°)
OKLaboklab(70% 0.1205 -0.0822)
OKLCHoklch(70% 0.146 325.7)
XYZxyz(43.3710, 31.7595, 62.8650)
Luminance0.3176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CCF #7FCF7C
analogous
#A27CCF #CC7CCF #CF7CA9
triadic
#CC7CCF #CFCC7C #7CCFCC
tetradic
#CC7CCF #CFA27C #7FCF7C #7CA9CF
square
#CC7CCF #CFA27C #7FCF7C #7CA9CF
split-complementary
#CC7CCF #A9CF7C #7CCFA2
monochromatic
#953899 #BB4FBF #CC7CCF #DDA9DF #EFD6F0

Accessibility & contrast

On white

2.86
#CC7CCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CC7CCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CCF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CCF#FFFFFF#000000##000000
##CC7CCF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D2
Deuteranopia (green-blind)
#8A9CCC
Tritanopia (blue-blind)
#D0849C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7ccf;
/* rgb */ color: rgb(204, 124, 207);
/* oklch */ color: oklch(70.0% 0.146 325.7);
Tailwind
colors: {
  custom: {
    50: '#dda4de',
    500: '#cc7ccf',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ccf;
$custom-light: #dda4de;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ccf",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 297.831,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70002,
    "c": 0.14589,
    "h": 325.7
  },
  "luminance": 0.31758
}

Semantic roles & 50–950 ramp

primary
#CC7CCF
secondary
#C6E2C5
accent
#BA2C31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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