#C04CBD#C04CBD

#C04CBD is a mid, vivid purple. Relative luminance 0.200; OKLCH L 61.1% C 0.199 H 328.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C04CBD
RGBrgb(192, 76, 189)
HSLhsl(302, 48%, 53%)
HSVhsv(302, 60%, 75%)
CMYKcmyk(0%, 60.4%, 1.6%, 24.7%)
CIE-LABlab(51.90, 60.56, -37.48)
CIE-LCHlch(51.90, 71.22, 328.24°)
OKLaboklab(61.09% 0.1698 -0.1032)
OKLCHoklch(61.09% 0.199 328.7)
XYZxyz(33.5076, 20.0517, 50.2397)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CBD #4CC04F
analogous
#894CC0 #C04CBD #C04C83
triadic
#C04CBD #BDC04C #4CBDC0
tetradic
#C04CBD #C0894C #4CC04F #4C83C0
square
#C04CBD #C0894C #4CC04F #4C83C0
split-complementary
#C04CBD #83C04C #4CC089
monochromatic
#6C266A #993696 #C04CBD #D079CE #E0A7DE

Accessibility & contrast

On white

4.19
#C04CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C04CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CBD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CBD#FFFFFF#000000##000000
##C04CBD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172C0
Deuteranopia (green-blind)
#6881BA
Tritanopia (blue-blind)
#C6597E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04cbd;
/* rgb */ color: rgb(192, 76, 189);
/* oklch */ color: oklch(61.1% 0.199 328.7);
Tailwind
colors: {
  custom: {
    50: '#d685d1',
    500: '#c04cbd',
    950: '#000000',
  },
}
SCSS
$custom: #c04cbd;
$custom-light: #d685d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cbd",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 301.552,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61091,
    "c": 0.19875,
    "h": 328.7
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#C04CBD
secondary
#9BCD9C
accent
#D85450
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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