#C04DB5#C04DB5

#C04DB5 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.191 H 331.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C04DB5
RGBrgb(192, 77, 181)
HSLhsl(306, 48%, 53%)
HSVhsv(306, 60%, 75%)
CMYKcmyk(0%, 59.9%, 5.7%, 24.7%)
CIE-LABlab(51.67, 58.79, -33.20)
CIE-LCHlch(51.67, 67.51, 330.55°)
OKLaboklab(60.8% 0.1677 -0.0909)
OKLCHoklch(60.8% 0.191 331.5)
XYZxyz(32.7325, 19.8528, 45.8151)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DB5 #4DC058
analogous
#914DC0 #C04DB5 #C04D7B
triadic
#C04DB5 #B5C04D #4DB5C0
tetradic
#C04DB5 #C0914D #4DC058 #4D7BC0
square
#C04DB5 #C0914D #4DC058 #4D7BC0
split-complementary
#C04DB5 #7BC04D #4DC091
monochromatic
#6C2666 #993690 #C04DB5 #D07AC8 #E0A7DB

Accessibility & contrast

On white

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

On black

4.97
#C04DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DB5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DB5#FFFFFF#000000##000000
##C04DB51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#6D81B2
Tritanopia (blue-blind)
#C7577A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04db5;
/* rgb */ color: rgb(192, 77, 181);
/* oklch */ color: oklch(60.8% 0.191 331.5);
Tailwind
colors: {
  custom: {
    50: '#d686cb',
    500: '#c04db5',
    950: '#000000',
  },
}
SCSS
$custom: #c04db5;
$custom-light: #d686cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04db5",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 305.739,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.19078,
    "h": 331.5
  },
  "luminance": 0.1985
}

Semantic roles & 50–950 ramp

primary
#C04DB5
secondary
#9BCDA0
accent
#D75D50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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