#C04DB3#C04DB3

#C04DB3 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.7% C 0.189 H 332.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C04DB3
RGBrgb(192, 77, 179)
HSLhsl(307, 48%, 53%)
HSVhsv(307, 60%, 75%)
CMYKcmyk(0%, 59.9%, 6.8%, 24.7%)
CIE-LABlab(51.58, 58.46, -32.18)
CIE-LCHlch(51.58, 66.73, 331.17°)
OKLaboklab(60.7% 0.1675 -0.088)
OKLCHoklch(60.7% 0.189 332.3)
XYZxyz(32.5288, 19.7713, 44.7420)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DB3 #4DC05A
analogous
#944DC0 #C04DB3 #C04D79
triadic
#C04DB3 #B3C04D #4DB3C0
tetradic
#C04DB3 #C0944D #4DC05A #4D79C0
square
#C04DB3 #C0944D #4DC05A #4D79C0
split-complementary
#C04DB3 #79C04D #4DC094
monochromatic
#6C2664 #99368E #C04DB3 #D07AC6 #E0A7DA

Accessibility & contrast

On white

4.24
#C04DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#C04DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DB3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DB3#FFFFFF#000000##000000
##C04DB31.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B6
Deuteranopia (green-blind)
#6E81B0
Tritanopia (blue-blind)
#C85779
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04db3;
/* rgb */ color: rgb(192, 77, 179);
/* oklch */ color: oklch(60.7% 0.189 332.3);
Tailwind
colors: {
  custom: {
    50: '#d686ca',
    500: '#c04db3',
    950: '#000000',
  },
}
SCSS
$custom: #c04db3;
$custom-light: #d686ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c04db3",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 306.783,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60704,
    "c": 0.18919,
    "h": 332.3
  },
  "luminance": 0.19769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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