#C04DB4#C04DB4

#C04DB4 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.8% C 0.190 H 331.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C04DB4
RGBrgb(192, 77, 180)
HSLhsl(306, 48%, 53%)
HSVhsv(306, 60%, 75%)
CMYKcmyk(0%, 59.9%, 6.2%, 24.7%)
CIE-LABlab(51.62, 58.62, -32.69)
CIE-LCHlch(51.62, 67.12, 330.86°)
OKLaboklab(60.75% 0.1676 -0.0894)
OKLCHoklch(60.75% 0.19 331.9)
XYZxyz(32.6303, 19.8119, 45.2766)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DB4 #4DC059
analogous
#934DC0 #C04DB4 #C04D7A
triadic
#C04DB4 #B4C04D #4DB4C0
tetradic
#C04DB4 #C0934D #4DC059 #4D7AC0
square
#C04DB4 #C0934D #4DC059 #4D7AC0
split-complementary
#C04DB4 #7AC04D #4DC093
monochromatic
#6C2665 #99368F #C04DB4 #D07AC7 #E0A7DA

Accessibility & contrast

On white

4.23
#C04DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C04DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DB4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DB4#FFFFFF#000000##000000
##C04DB41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B7
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#C85779
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04db4;
/* rgb */ color: rgb(192, 77, 180);
/* oklch */ color: oklch(60.8% 0.190 331.9);
Tailwind
colors: {
  custom: {
    50: '#d686cb',
    500: '#c04db4',
    950: '#000000',
  },
}
SCSS
$custom: #c04db4;
$custom-light: #d686cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04db4",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 306.261,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60753,
    "c": 0.18999,
    "h": 331.9
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#C04DB4
secondary
#9BCDA1
accent
#D75F50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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