#C04DB8#C04DB8

#C04DB8 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 61.0% C 0.193 H 330.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C04DB8
RGBrgb(192, 77, 184)
HSLhsl(304, 48%, 53%)
HSVhsv(304, 60%, 75%)
CMYKcmyk(0%, 59.9%, 4.2%, 24.7%)
CIE-LABlab(51.81, 59.29, -34.72)
CIE-LCHlch(51.81, 68.70, 329.65°)
OKLaboklab(60.95% 0.1681 -0.0953)
OKLCHoklch(60.95% 0.193 330.5)
XYZxyz(33.0436, 19.9772, 47.4537)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DB8 #4DC055
analogous
#8E4DC0 #C04DB8 #C04D7E
triadic
#C04DB8 #B8C04D #4DB8C0
tetradic
#C04DB8 #C08E4D #4DC055 #4D7EC0
square
#C04DB8 #C08E4D #4DC055 #4D7EC0
split-complementary
#C04DB8 #7EC04D #4DC08E
monochromatic
#6C2667 #993693 #C04DB8 #D07ACA #E0A7DC

Accessibility & contrast

On white

4.20
#C04DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C04DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DB8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DB8#FFFFFF#000000##000000
##C04DB81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#6B81B5
Tritanopia (blue-blind)
#C7587B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04db8;
/* rgb */ color: rgb(192, 77, 184);
/* oklch */ color: oklch(61.0% 0.193 330.5);
Tailwind
colors: {
  custom: {
    50: '#d686cd',
    500: '#c04db8',
    950: '#000000',
  },
}
SCSS
$custom: #c04db8;
$custom-light: #d686cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04db8",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 304.174,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.19322,
    "h": 330.5
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#C04DB8
secondary
#9BCD9F
accent
#D75A50
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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