#CC7ACF#CC7ACF

#CC7ACF is a light, vivid purple. Relative luminance 0.313; OKLCH L 69.7% C 0.149 H 325.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CC7ACF
RGBrgb(204, 122, 207)
HSLhsl(298, 47%, 65%)
HSVhsv(298, 41%, 81%)
CMYKcmyk(1.4%, 41.1%, 0%, 18.8%)
CIE-LABlab(62.73, 44.85, -30.72)
CIE-LCHlch(62.73, 54.37, 325.59°)
OKLaboklab(69.69% 0.1235 -0.084)
OKLCHoklch(69.69% 0.149 325.8)
XYZxyz(43.1229, 31.2633, 62.7823)
Luminance0.3126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7ACF #7DCF7A
analogous
#A27ACF #CC7ACF #CF7AA8
triadic
#CC7ACF #CFCC7A #7ACFCC
tetradic
#CC7ACF #CFA27A #7DCF7A #7AA8CF
square
#CC7ACF #CFA27A #7DCF7A #7AA8CF
split-complementary
#CC7ACF #A8CF7A #7ACFA2
monochromatic
#943798 #BB4DBF #CC7ACF #DDA7DF #EED4EF

Accessibility & contrast

On white

2.90
#CC7ACF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CC7ACF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7ACF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7ACF#FFFFFF#000000##000000
##CC7ACF1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D2
Deuteranopia (green-blind)
#889BCC
Tritanopia (blue-blind)
#D0839B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc7acf;
/* rgb */ color: rgb(204, 122, 207);
/* oklch */ color: oklch(69.7% 0.149 325.8);
Tailwind
colors: {
  custom: {
    50: '#dda2de',
    500: '#cc7acf',
    950: '#000000',
  },
}
SCSS
$custom: #cc7acf;
$custom-light: #dda2de;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7acf",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 207
  },
  "hsl": {
    "h": 297.882,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69692,
    "c": 0.14932,
    "h": 325.8
  },
  "luminance": 0.31261
}

Semantic roles & 50–950 ramp

primary
#CC7ACF
secondary
#C5E1C4
accent
#BA2B30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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