#C04CC9#C04CC9

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

Color values

HEX#C04CC9
RGBrgb(192, 76, 201)
HSLhsl(296, 54%, 54%)
HSVhsv(296, 62%, 79%)
CMYKcmyk(4.5%, 62.2%, 0%, 21.2%)
CIE-LABlab(52.50, 62.65, -43.44)
CIE-LCHlch(52.50, 76.24, 325.26°)
OKLaboklab(61.73% 0.1706 -0.1205)
OKLCHoklch(61.73% 0.209 324.8)
XYZxyz(34.8644, 20.5944, 57.3858)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CC9 #55C94C
analogous
#824CC9 #C04CC9 #C94C94
triadic
#C04CC9 #C9C04C #4CC9C0
tetradic
#C04CC9 #C9824C #55C94C #4C94C9
square
#C04CC9 #C9824C #55C94C #4C94C9
split-complementary
#C04CC9 #94C94C #4CC982
monochromatic
#712477 #9D32A6 #C04CC9 #D17BD7 #E1AAE5

Accessibility & contrast

On white

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

On black

5.12
#C04CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CC9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CC9#FFFFFF#000000##000000
##C04CC91.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3674CD
Deuteranopia (green-blind)
#6282C6
Tritanopia (blue-blind)
#C45E84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04cc9;
/* rgb */ color: rgb(192, 76, 201);
/* oklch */ color: oklch(61.7% 0.209 324.8);
Tailwind
colors: {
  custom: {
    50: '#d686da',
    500: '#c04cc9',
    950: '#000000',
  },
}
SCSS
$custom: #c04cc9;
$custom-light: #d686da;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cc9",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 295.68,
    "s": 53.648,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6173,
    "c": 0.20889,
    "h": 324.8
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#C04CC9
secondary
#A2D39E
accent
#DD4B55
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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