#C04BB1#C04BB1

#C04BB1 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.4% C 0.190 H 333.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C04BB1
RGBrgb(192, 75, 177)
HSLhsl(308, 48%, 52%)
HSVhsv(308, 61%, 75%)
CMYKcmyk(0%, 60.9%, 7.8%, 24.7%)
CIE-LABlab(51.17, 59.00, -31.65)
CIE-LCHlch(51.17, 66.95, 331.79°)
OKLaboklab(60.38% 0.1697 -0.0865)
OKLCHoklch(60.38% 0.19 333)
XYZxyz(32.1902, 19.4154, 43.6386)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BB1 #4BC05A
analogous
#944BC0 #C04BB1 #C04B77
triadic
#C04BB1 #B1C04B #4BB1C0
tetradic
#C04BB1 #C0944B #4BC05A #4B77C0
square
#C04BB1 #C0944B #4BC05A #4B77C0
split-complementary
#C04BB1 #77C04B #4BC094
monochromatic
#6B2562 #98358C #C04BB1 #D078C5 #E0A6D8

Accessibility & contrast

On white

4.30
#C04BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C04BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BB1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BB1#FFFFFF#000000##000000
##C04BB11.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#486FB4
Deuteranopia (green-blind)
#6D80AE
Tritanopia (blue-blind)
#C85477
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04bb1;
/* rgb */ color: rgb(192, 75, 177);
/* oklch */ color: oklch(60.4% 0.190 333.0);
Tailwind
colors: {
  custom: {
    50: '#d684c8',
    500: '#c04bb1',
    950: '#000000',
  },
}
SCSS
$custom: #c04bb1;
$custom-light: #d684c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bb1",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 307.692,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60376,
    "c": 0.19047,
    "h": 333
  },
  "luminance": 0.19413
}

Semantic roles & 50–950 ramp

primary
#C04BB1
secondary
#9ACDA0
accent
#D86150
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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