#C04CB6#C04CB6

#C04CB6 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.7% C 0.193 H 331.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C04CB6
RGBrgb(192, 76, 182)
HSLhsl(305, 48%, 53%)
HSVhsv(305, 60%, 75%)
CMYKcmyk(0%, 60.4%, 5.2%, 24.7%)
CIE-LABlab(51.56, 59.39, -33.95)
CIE-LCHlch(51.56, 68.41, 330.24°)
OKLaboklab(60.74% 0.1691 -0.0931)
OKLCHoklch(60.74% 0.193 331.2)
XYZxyz(32.7660, 19.7551, 46.3342)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CB6 #4CC056
analogous
#904CC0 #C04CB6 #C04C7C
triadic
#C04CB6 #B6C04C #4CB6C0
tetradic
#C04CB6 #C0904C #4CC056 #4C7CC0
square
#C04CB6 #C0904C #4CC056 #4C7CC0
split-complementary
#C04CB6 #7CC04C #4CC090
monochromatic
#6C2666 #993690 #C04CB6 #D079C8 #E0A7DB

Accessibility & contrast

On white

4.24
#C04CB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#C04CB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CB6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CB6#FFFFFF#000000##000000
##C04CB61.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671B9
Deuteranopia (green-blind)
#6C81B3
Tritanopia (blue-blind)
#C7577A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04cb6;
/* rgb */ color: rgb(192, 76, 182);
/* oklch */ color: oklch(60.7% 0.193 331.2);
Tailwind
colors: {
  custom: {
    50: '#d685cc',
    500: '#c04cb6',
    950: '#000000',
  },
}
SCSS
$custom: #c04cb6;
$custom-light: #d685cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cb6",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 182
  },
  "hsl": {
    "h": 305.172,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60737,
    "c": 0.19302,
    "h": 331.2
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#C04CB6
secondary
#9BCD9F
accent
#D85C50
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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