#C04BAE#C04BAE

#C04BAE is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.188 H 334.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C04BAE
RGBrgb(192, 75, 174)
HSLhsl(309, 48%, 52%)
HSVhsv(309, 61%, 75%)
CMYKcmyk(0%, 60.9%, 9.4%, 24.7%)
CIE-LABlab(51.03, 58.52, -30.11)
CIE-LCHlch(51.03, 65.81, 332.77°)
OKLaboklab(60.23% 0.1693 -0.0821)
OKLCHoklch(60.23% 0.188 334.1)
XYZxyz(31.8944, 19.2971, 42.0811)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BAE #4BC05D
analogous
#984BC0 #C04BAE #C04B73
triadic
#C04BAE #AEC04B #4BAEC0
tetradic
#C04BAE #C0984B #4BC05D #4B73C0
square
#C04BAE #C0984B #4BC05D #4B73C0
split-complementary
#C04BAE #73C04B #4BC098
monochromatic
#6B2560 #983589 #C04BAE #D078C2 #E0A6D7

Accessibility & contrast

On white

4.32
#C04BAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C04BAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BAE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BAE#FFFFFF#000000##000000
##C04BAE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB1
Deuteranopia (green-blind)
#6F80AB
Tritanopia (blue-blind)
#C85376
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04bae;
/* rgb */ color: rgb(192, 75, 174);
/* oklch */ color: oklch(60.2% 0.188 334.1);
Tailwind
colors: {
  custom: {
    50: '#d684c6',
    500: '#c04bae',
    950: '#000000',
  },
}
SCSS
$custom: #c04bae;
$custom-light: #d684c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bae",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 309.231,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.18815,
    "h": 334.1
  },
  "luminance": 0.19295
}

Semantic roles & 50–950 ramp

primary
#C04BAE
secondary
#9ACDA2
accent
#D86550
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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