#C04CB5#C04CB5

#C04CB5 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.7% C 0.192 H 331.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C04CB5
RGBrgb(192, 76, 181)
HSLhsl(306, 48%, 53%)
HSVhsv(306, 60%, 75%)
CMYKcmyk(0%, 60.4%, 5.7%, 24.7%)
CIE-LABlab(51.51, 59.22, -33.44)
CIE-LCHlch(51.51, 68.01, 330.55°)
OKLaboklab(60.69% 0.169 -0.0916)
OKLCHoklch(60.69% 0.192 331.5)
XYZxyz(32.6631, 19.7139, 45.7919)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CB5 #4CC057
analogous
#914CC0 #C04CB5 #C04C7B
triadic
#C04CB5 #B5C04C #4CB5C0
tetradic
#C04CB5 #C0914C #4CC057 #4C7BC0
square
#C04CB5 #C0914C #4CC057 #4C7BC0
split-complementary
#C04CB5 #7BC04C #4CC091
monochromatic
#6C2665 #993690 #C04CB5 #D079C8 #E0A7DA

Accessibility & contrast

On white

4.25
#C04CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C04CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CB5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CB5#FFFFFF#000000##000000
##C04CB51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4670B8
Deuteranopia (green-blind)
#6C81B2
Tritanopia (blue-blind)
#C75679
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04cb5;
/* rgb */ color: rgb(192, 76, 181);
/* oklch */ color: oklch(60.7% 0.192 331.5);
Tailwind
colors: {
  custom: {
    50: '#d685cb',
    500: '#c04cb5',
    950: '#000000',
  },
}
SCSS
$custom: #c04cb5;
$custom-light: #d685cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cb5",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 305.69,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.19222,
    "h": 331.5
  },
  "luminance": 0.19712
}

Semantic roles & 50–950 ramp

primary
#C04CB5
secondary
#9BCD9F
accent
#D85D50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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