#C04DBB#C04DBB

#C04DBB is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.1% C 0.196 H 329.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C04DBB
RGBrgb(192, 77, 187)
HSLhsl(303, 48%, 53%)
HSVhsv(303, 60%, 75%)
CMYKcmyk(0%, 59.9%, 2.6%, 24.7%)
CIE-LABlab(51.95, 59.79, -36.23)
CIE-LCHlch(51.95, 69.91, 328.78°)
OKLaboklab(61.1% 0.1684 -0.0996)
OKLCHoklch(61.1% 0.196 329.4)
XYZxyz(33.3614, 20.1043, 49.1274)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DBB #4DC052
analogous
#8C4DC0 #C04DBB #C04D81
triadic
#C04DBB #BBC04D #4DBBC0
tetradic
#C04DBB #C08C4D #4DC052 #4D81C0
square
#C04DBB #C08C4D #4DC052 #4D81C0
split-complementary
#C04DBB #81C04D #4DC08C
monochromatic
#6C2669 #993695 #C04DBB #D07ACC #E0A7DE

Accessibility & contrast

On white

4.18
#C04DBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C04DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DBB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DBB#FFFFFF#000000##000000
##C04DBB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#6A81B8
Tritanopia (blue-blind)
#C65A7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04dbb;
/* rgb */ color: rgb(192, 77, 187);
/* oklch */ color: oklch(61.1% 0.196 329.4);
Tailwind
colors: {
  custom: {
    50: '#d686d0',
    500: '#c04dbb',
    950: '#000000',
  },
}
SCSS
$custom: #c04dbb;
$custom-light: #d686d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dbb",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 302.609,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61103,
    "c": 0.19568,
    "h": 329.4
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

primary
#C04DBB
secondary
#9BCD9E
accent
#D75650
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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