#CC46B7#CC46B7

#CC46B7 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.8% C 0.209 H 334.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CC46B7
RGBrgb(204, 70, 183)
HSLhsl(309, 57%, 54%)
HSVhsv(309, 66%, 80%)
CMYKcmyk(0%, 65.7%, 10.3%, 20%)
CIE-LABlab(52.55, 65.07, -32.85)
CIE-LCHlch(52.55, 72.89, 333.21°)
OKLaboklab(61.84% 0.189 -0.0896)
OKLCHoklch(61.84% 0.209 334.6)
XYZxyz(35.6395, 20.6395, 46.8973)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46B7 #46CC5B
analogous
#9E46CC #CC46B7 #CC4674
triadic
#CC46B7 #B7CC46 #46B7CC
tetradic
#CC46B7 #CC9E46 #46CC5B #4674CC
square
#CC46B7 #CC9E46 #46CC5B #4674CC
split-complementary
#CC46B7 #74CC46 #46CC9E
monochromatic
#772169 #A72E94 #CC46B7 #D976CA #E6A6DC

Accessibility & contrast

On white

4.10
#CC46B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CC46B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46B7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46B7#FFFFFF#000000##000000
##CC46B71.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#7185B4
Tritanopia (blue-blind)
#D55078
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc46b7;
/* rgb */ color: rgb(204, 70, 183);
/* oklch */ color: oklch(61.8% 0.209 334.6);
Tailwind
colors: {
  custom: {
    50: '#df83cd',
    500: '#cc46b7',
    950: '#000000',
  },
}
SCSS
$custom: #cc46b7;
$custom-light: #df83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46b7",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 309.403,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.2092,
    "h": 334.6
  },
  "luminance": 0.20637
}

Semantic roles & 50–950 ramp

primary
#CC46B7
secondary
#9AD4A3
accent
#E06048
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC46B7

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

Preview Lab → · Contrast checker → · Palette generator →

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