#C04CC2#C04CC2

#C04CC2 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.203 H 327.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C04CC2
RGBrgb(192, 76, 194)
HSLhsl(299, 49%, 53%)
HSVhsv(299, 61%, 76%)
CMYKcmyk(1%, 60.8%, 0%, 23.9%)
CIE-LABlab(52.14, 61.42, -39.98)
CIE-LCHlch(52.14, 73.29, 326.94°)
OKLaboklab(61.35% 0.1702 -0.1104)
OKLCHoklch(61.35% 0.203 327)
XYZxyz(34.0597, 20.2725, 53.1475)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CC2 #4EC24C
analogous
#854CC2 #C04CC2 #C24C89
triadic
#C04CC2 #C2C04C #4CC2C0
tetradic
#C04CC2 #C2854C #4EC24C #4C89C2
square
#C04CC2 #C2854C #4EC24C #4C89C2
split-complementary
#C04CC2 #89C24C #4CC285
monochromatic
#6D266E #9A359C #C04CC2 #D07AD2 #E0A7E1

Accessibility & contrast

On white

4.16
#C04CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C04CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CC2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CC2#FFFFFF#000000##000000
##C04CC21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C6
Deuteranopia (green-blind)
#6682BF
Tritanopia (blue-blind)
#C55B80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04cc2;
/* rgb */ color: rgb(192, 76, 194);
/* oklch */ color: oklch(61.4% 0.203 327.0);
Tailwind
colors: {
  custom: {
    50: '#d685d5',
    500: '#c04cc2',
    950: '#000000',
  },
}
SCSS
$custom: #c04cc2;
$custom-light: #d685d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cc2",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 298.983,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61353,
    "c": 0.20292,
    "h": 327
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#C04CC2
secondary
#9CCE9B
accent
#D94F51
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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