#C04DB2#C04DB2

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

Color values

HEX#C04DB2
RGBrgb(192, 77, 178)
HSLhsl(307, 48%, 53%)
HSVhsv(307, 60%, 75%)
CMYKcmyk(0%, 59.9%, 7.3%, 24.7%)
CIE-LABlab(51.53, 58.29, -31.67)
CIE-LCHlch(51.53, 66.34, 331.49°)
OKLaboklab(60.66% 0.1673 -0.0865)
OKLCHoklch(60.66% 0.188 332.7)
XYZxyz(32.4280, 19.7309, 44.2113)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DB2 #4DC05B
analogous
#944DC0 #C04DB2 #C04D79
triadic
#C04DB2 #B2C04D #4DB2C0
tetradic
#C04DB2 #C0944D #4DC05B #4D79C0
square
#C04DB2 #C0944D #4DC05B #4D79C0
split-complementary
#C04DB2 #79C04D #4DC094
monochromatic
#6C2664 #99368D #C04DB2 #D07AC6 #E0A7D9

Accessibility & contrast

On white

4.25
#C04DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04DB2#FFFFFF#000000##000000
##C04DB21.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#6E81AF
Tritanopia (blue-blind)
#C85678
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04db2;
/* rgb */ color: rgb(192, 77, 178);
/* oklch */ color: oklch(60.7% 0.188 332.7);
Tailwind
colors: {
  custom: {
    50: '#d686c9',
    500: '#c04db2',
    950: '#000000',
  },
}
SCSS
$custom: #c04db2;
$custom-light: #d686c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c04db2",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 307.304,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.18839,
    "h": 332.7
  },
  "luminance": 0.19729
}

Semantic roles & 50–950 ramp

primary
#C04DB2
secondary
#9BCDA2
accent
#D76150
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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