#C04BAD#C04BAD

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

Color values

HEX#C04BAD
RGBrgb(192, 75, 173)
HSLhsl(310, 48%, 52%)
HSVhsv(310, 61%, 75%)
CMYKcmyk(0%, 60.9%, 9.9%, 24.7%)
CIE-LABlab(50.99, 58.36, -29.59)
CIE-LCHlch(50.99, 65.43, 333.11°)
OKLaboklab(60.18% 0.1692 -0.0806)
OKLCHoklch(60.18% 0.187 334.5)
XYZxyz(31.7973, 19.2582, 41.5695)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BAD #4BC05E
analogous
#994BC0 #C04BAD #C04B72
triadic
#C04BAD #ADC04B #4BADC0
tetradic
#C04BAD #C0994B #4BC05E #4B72C0
square
#C04BAD #C0994B #4BC05E #4B72C0
split-complementary
#C04BAD #72C04B #4BC099
monochromatic
#6B2560 #983588 #C04BAD #D078C2 #E0A6D6

Accessibility & contrast

On white

4.33
#C04BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C04BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BAD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BAD#FFFFFF#000000##000000
##C04BAD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EB0
Deuteranopia (green-blind)
#6F80AA
Tritanopia (blue-blind)
#C95375
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c04bad;
/* rgb */ color: rgb(192, 75, 173);
/* oklch */ color: oklch(60.2% 0.187 334.5);
Tailwind
colors: {
  custom: {
    50: '#d684c5',
    500: '#c04bad',
    950: '#000000',
  },
}
SCSS
$custom: #c04bad;
$custom-light: #d684c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bad",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 309.744,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60184,
    "c": 0.18738,
    "h": 334.5
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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