#C04CBC#C04CBC

#C04CBC is a mid, vivid purple. Relative luminance 0.200; OKLCH L 61.0% C 0.198 H 329.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C04CBC
RGBrgb(192, 76, 188)
HSLhsl(302, 48%, 53%)
HSVhsv(302, 60%, 75%)
CMYKcmyk(0%, 60.4%, 2.1%, 24.7%)
CIE-LABlab(51.85, 60.39, -36.98)
CIE-LCHlch(51.85, 70.82, 328.52°)
OKLaboklab(61.04% 0.1697 -0.1018)
OKLCHoklch(61.04% 0.198 329)
XYZxyz(33.3994, 20.0084, 49.6700)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CBC #4CC050
analogous
#8A4CC0 #C04CBC #C04C82
triadic
#C04CBC #BCC04C #4CBCC0
tetradic
#C04CBC #C08A4C #4CC050 #4C82C0
square
#C04CBC #C08A4C #4CC050 #4C82C0
split-complementary
#C04CBC #82C04C #4CC08A
monochromatic
#6C2669 #993696 #C04CBC #D079CD #E0A7DE

Accessibility & contrast

On white

4.20
#C04CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C04CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CBC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CBC#FFFFFF#000000##000000
##C04CBC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172BF
Deuteranopia (green-blind)
#6981B9
Tritanopia (blue-blind)
#C6597D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04cbc;
/* rgb */ color: rgb(192, 76, 188);
/* oklch */ color: oklch(61.0% 0.198 329.0);
Tailwind
colors: {
  custom: {
    50: '#d685d0',
    500: '#c04cbc',
    950: '#000000',
  },
}
SCSS
$custom: #c04cbc;
$custom-light: #d685d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cbc",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 302.069,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.6104,
    "c": 0.19792,
    "h": 329
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#C04CBC
secondary
#9BCD9C
accent
#D85550
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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