#C04DB7#C04DB7

#C04DB7 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.9% C 0.192 H 330.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C04DB7
RGBrgb(192, 77, 183)
HSLhsl(305, 48%, 53%)
HSVhsv(305, 60%, 75%)
CMYKcmyk(0%, 59.9%, 4.7%, 24.7%)
CIE-LABlab(51.76, 59.12, -34.21)
CIE-LCHlch(51.76, 68.30, 329.94°)
OKLaboklab(60.9% 0.168 -0.0938)
OKLCHoklch(60.9% 0.192 330.8)
XYZxyz(32.9392, 19.9354, 46.9036)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DB7 #4DC056
analogous
#904DC0 #C04DB7 #C04D7D
triadic
#C04DB7 #B7C04D #4DB7C0
tetradic
#C04DB7 #C0904D #4DC056 #4D7DC0
square
#C04DB7 #C0904D #4DC056 #4D7DC0
split-complementary
#C04DB7 #7DC04D #4DC090
monochromatic
#6C2667 #993692 #C04DB7 #D07AC9 #E0A7DC

Accessibility & contrast

On white

4.21
#C04DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C04DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DB7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DB7#FFFFFF#000000##000000
##C04DB71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#C7587B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04db7;
/* rgb */ color: rgb(192, 77, 183);
/* oklch */ color: oklch(60.9% 0.192 330.8);
Tailwind
colors: {
  custom: {
    50: '#d686cd',
    500: '#c04db7',
    950: '#000000',
  },
}
SCSS
$custom: #c04db7;
$custom-light: #d686cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04db7",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 304.696,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60902,
    "c": 0.1924,
    "h": 330.8
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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