#C04CB1#C04CB1

#C04CB1 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.5% C 0.189 H 333.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C04CB1
RGBrgb(192, 76, 177)
HSLhsl(308, 48%, 53%)
HSVhsv(308, 60%, 75%)
CMYKcmyk(0%, 60.4%, 7.8%, 24.7%)
CIE-LABlab(51.33, 58.57, -31.40)
CIE-LCHlch(51.33, 66.45, 331.80°)
OKLaboklab(60.49% 0.1685 -0.0858)
OKLCHoklch(60.49% 0.189 333)
XYZxyz(32.2585, 19.5521, 43.6613)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CB1 #4CC05B
analogous
#954CC0 #C04CB1 #C04C77
triadic
#C04CB1 #B1C04C #4CB1C0
tetradic
#C04CB1 #C0954C #4CC05B #4C77C0
square
#C04CB1 #C0954C #4CC05B #4C77C0
split-complementary
#C04CB1 #77C04C #4CC095
monochromatic
#6C2663 #99368C #C04CB1 #D079C5 #E0A7D8

Accessibility & contrast

On white

4.28
#C04CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C04CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CB1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CB1#FFFFFF#000000##000000
##C04CB11.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B4
Deuteranopia (green-blind)
#6E80AE
Tritanopia (blue-blind)
#C85577
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04cb1;
/* rgb */ color: rgb(192, 76, 177);
/* oklch */ color: oklch(60.5% 0.189 333.0);
Tailwind
colors: {
  custom: {
    50: '#d685c8',
    500: '#c04cb1',
    950: '#000000',
  },
}
SCSS
$custom: #c04cb1;
$custom-light: #d685c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cb1",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 307.759,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60491,
    "c": 0.18904,
    "h": 333
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#C04CB1
secondary
#9BCDA1
accent
#D86250
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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