#C04BB4#C04BB4

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

Color values

HEX#C04BB4
RGBrgb(192, 75, 180)
HSLhsl(306, 48%, 52%)
HSVhsv(306, 61%, 75%)
CMYKcmyk(0%, 60.9%, 6.2%, 24.7%)
CIE-LABlab(51.31, 59.49, -33.18)
CIE-LCHlch(51.31, 68.11, 330.85°)
OKLaboklab(60.52% 0.1701 -0.0908)
OKLCHoklch(60.52% 0.193 331.9)
XYZxyz(32.4925, 19.5363, 45.2307)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BB4 #4BC057
analogous
#924BC0 #C04BB4 #C04B79
triadic
#C04BB4 #B4C04B #4BB4C0
tetradic
#C04BB4 #C0924B #4BC057 #4B79C0
square
#C04BB4 #C0924B #4BC057 #4B79C0
split-complementary
#C04BB4 #79C04B #4BC092
monochromatic
#6B2564 #98358E #C04BB4 #D078C7 #E0A6DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04BB4#FFFFFF#000000##000000
##C04BB41.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)
#4670B7
Deuteranopia (green-blind)
#6C80B1
Tritanopia (blue-blind)
#C85579
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04bb4;
/* rgb */ color: rgb(192, 75, 180);
/* oklch */ color: oklch(60.5% 0.193 331.9);
Tailwind
colors: {
  custom: {
    50: '#d684cb',
    500: '#c04bb4',
    950: '#000000',
  },
}
SCSS
$custom: #c04bb4;
$custom-light: #d684cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bb4",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 306.154,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60523,
    "c": 0.19285,
    "h": 331.9
  },
  "luminance": 0.19534
}

Semantic roles & 50–950 ramp

primary
#C04BB4
secondary
#9ACD9F
accent
#D85E50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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