#C04CC0#C04CC0

#C04CC0 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.2% C 0.201 H 327.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C04CC0
RGBrgb(192, 76, 192)
HSLhsl(300, 48%, 53%)
HSVhsv(300, 60%, 75%)
CMYKcmyk(0%, 60.4%, 0%, 24.7%)
CIE-LABlab(52.04, 61.07, -38.99)
CIE-LCHlch(52.04, 72.46, 327.45°)
OKLaboklab(61.25% 0.1701 -0.1076)
OKLCHoklch(61.25% 0.201 327.7)
XYZxyz(33.8366, 20.1833, 51.9725)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CC0 #4CC04C
analogous
#864CC0 #C04CC0 #C04C86
triadic
#C04CC0 #C0C04C #4CC0C0
tetradic
#C04CC0 #C0864C #4CC04C #4C86C0
square
#C04CC0 #C0864C #4CC04C #4C86C0
split-complementary
#C04CC0 #86C04C #4CC086
monochromatic
#6C266C #993699 #C04CC0 #D079D0 #E0A7E0

Accessibility & contrast

On white

4.17
#C04CC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C04CC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CC0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CC0#FFFFFF#000000##000000
##C04CC01.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C4
Deuteranopia (green-blind)
#6781BD
Tritanopia (blue-blind)
#C65B7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04cc0;
/* rgb */ color: rgb(192, 76, 192);
/* oklch */ color: oklch(61.2% 0.201 327.7);
Tailwind
colors: {
  custom: {
    50: '#d685d3',
    500: '#c04cc0',
    950: '#000000',
  },
}
SCSS
$custom: #c04cc0;
$custom-light: #d685d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cc0",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 300,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61247,
    "c": 0.20124,
    "h": 327.7
  },
  "luminance": 0.20181
}

Semantic roles & 50–950 ramp

primary
#C04CC0
secondary
#9BCD9B
accent
#D85050
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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