#C04BB2#C04BB2

#C04BB2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.191 H 332.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C04BB2
RGBrgb(192, 75, 178)
HSLhsl(307, 48%, 52%)
HSVhsv(307, 61%, 75%)
CMYKcmyk(0%, 60.9%, 7.3%, 24.7%)
CIE-LABlab(51.22, 59.16, -32.16)
CIE-LCHlch(51.22, 67.34, 331.47°)
OKLaboklab(60.43% 0.1699 -0.0879)
OKLCHoklch(60.43% 0.191 332.6)
XYZxyz(32.2902, 19.4554, 44.1654)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BB2 #4BC059
analogous
#934BC0 #C04BB2 #C04B78
triadic
#C04BB2 #B2C04B #4BB2C0
tetradic
#C04BB2 #C0934B #4BC059 #4B78C0
square
#C04BB2 #C0934B #4BC059 #4B78C0
split-complementary
#C04BB2 #78C04B #4BC093
monochromatic
#6B2563 #98358D #C04BB2 #D078C5 #E0A6D9

Accessibility & contrast

On white

4.29
#C04BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#C04BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BB2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BB2#FFFFFF#000000##000000
##C04BB21.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#476FB5
Deuteranopia (green-blind)
#6D80AF
Tritanopia (blue-blind)
#C85578
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04bb2;
/* rgb */ color: rgb(192, 75, 178);
/* oklch */ color: oklch(60.4% 0.191 332.6);
Tailwind
colors: {
  custom: {
    50: '#d684c9',
    500: '#c04bb2',
    950: '#000000',
  },
}
SCSS
$custom: #c04bb2;
$custom-light: #d684c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bb2",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 307.179,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.19126,
    "h": 332.6
  },
  "luminance": 0.19453
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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