#C04CB4#C04CB4

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

Color values

HEX#C04CB4
RGBrgb(192, 76, 180)
HSLhsl(306, 48%, 53%)
HSVhsv(306, 60%, 75%)
CMYKcmyk(0%, 60.4%, 6.2%, 24.7%)
CIE-LABlab(51.47, 59.06, -32.93)
CIE-LCHlch(51.47, 67.62, 330.85°)
OKLaboklab(60.64% 0.1689 -0.0901)
OKLCHoklch(60.64% 0.191 331.9)
XYZxyz(32.5608, 19.6730, 45.2535)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CB4 #4CC058
analogous
#924CC0 #C04CB4 #C04C7A
triadic
#C04CB4 #B4C04C #4CB4C0
tetradic
#C04CB4 #C0924C #4CC058 #4C7AC0
square
#C04CB4 #C0924C #4CC058 #4C7AC0
split-complementary
#C04CB4 #7AC04C #4CC092
monochromatic
#6C2664 #99368F #C04CB4 #D079C7 #E0A7DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04CB4#FFFFFF#000000##000000
##C04CB41.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)
#4770B7
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#C85679
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04cb4;
/* rgb */ color: rgb(192, 76, 180);
/* oklch */ color: oklch(60.6% 0.191 331.9);
Tailwind
colors: {
  custom: {
    50: '#d685cb',
    500: '#c04cb4',
    950: '#000000',
  },
}
SCSS
$custom: #c04cb4;
$custom-light: #d685cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cb4",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 306.207,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60638,
    "c": 0.19142,
    "h": 331.9
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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