#C04CB3#C04CB3

#C04CB3 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.6% C 0.191 H 332.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C04CB3
RGBrgb(192, 76, 179)
HSLhsl(307, 48%, 53%)
HSVhsv(307, 60%, 75%)
CMYKcmyk(0%, 60.4%, 6.8%, 24.7%)
CIE-LABlab(51.42, 58.89, -32.42)
CIE-LCHlch(51.42, 67.23, 331.16°)
OKLaboklab(60.59% 0.1687 -0.0887)
OKLCHoklch(60.59% 0.191 332.3)
XYZxyz(32.4593, 19.6324, 44.7189)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CB3 #4CC059
analogous
#934CC0 #C04CB3 #C04C79
triadic
#C04CB3 #B3C04C #4CB3C0
tetradic
#C04CB3 #C0934C #4CC059 #4C79C0
square
#C04CB3 #C0934C #4CC059 #4C79C0
split-complementary
#C04CB3 #79C04C #4CC093
monochromatic
#6C2664 #99368E #C04CB3 #D079C6 #E0A7D9

Accessibility & contrast

On white

4.26
#C04CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C04CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CB3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CB3#FFFFFF#000000##000000
##C04CB31.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B6
Deuteranopia (green-blind)
#6D80B0
Tritanopia (blue-blind)
#C85678
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04cb3;
/* rgb */ color: rgb(192, 76, 179);
/* oklch */ color: oklch(60.6% 0.191 332.3);
Tailwind
colors: {
  custom: {
    50: '#d685ca',
    500: '#c04cb3',
    950: '#000000',
  },
}
SCSS
$custom: #c04cb3;
$custom-light: #d685ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cb3",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 306.724,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.19062,
    "h": 332.3
  },
  "luminance": 0.1963
}

Semantic roles & 50–950 ramp

primary
#C04CB3
secondary
#9BCDA0
accent
#D85F50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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