#C04CB7#C04CB7

#C04CB7 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.8% C 0.194 H 330.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C04CB7
RGBrgb(192, 76, 183)
HSLhsl(305, 48%, 53%)
HSVhsv(305, 60%, 75%)
CMYKcmyk(0%, 60.4%, 4.7%, 24.7%)
CIE-LABlab(51.61, 59.55, -34.46)
CIE-LCHlch(51.61, 68.80, 329.94°)
OKLaboklab(60.79% 0.1692 -0.0945)
OKLCHoklch(60.79% 0.194 330.8)
XYZxyz(32.8698, 19.7966, 46.8804)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CB7 #4CC055
analogous
#8F4CC0 #C04CB7 #C04C7D
triadic
#C04CB7 #B7C04C #4CB7C0
tetradic
#C04CB7 #C08F4C #4CC055 #4C7DC0
square
#C04CB7 #C08F4C #4CC055 #4C7DC0
split-complementary
#C04CB7 #7DC04C #4CC08F
monochromatic
#6C2666 #993691 #C04CB7 #D079C9 #E0A7DB

Accessibility & contrast

On white

4.23
#C04CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C04CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CB7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CB7#FFFFFF#000000##000000
##C04CB71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#6B81B4
Tritanopia (blue-blind)
#C7577B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04cb7;
/* rgb */ color: rgb(192, 76, 183);
/* oklch */ color: oklch(60.8% 0.194 330.8);
Tailwind
colors: {
  custom: {
    50: '#d685cd',
    500: '#c04cb7',
    950: '#000000',
  },
}
SCSS
$custom: #c04cb7;
$custom-light: #d685cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cb7",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 304.655,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60786,
    "c": 0.19383,
    "h": 330.8
  },
  "luminance": 0.19794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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