#C04DBC#C04DBC

#C04DBC is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.2% C 0.197 H 329.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C04DBC
RGBrgb(192, 77, 188)
HSLhsl(302, 48%, 53%)
HSVhsv(302, 60%, 75%)
CMYKcmyk(0%, 59.9%, 2.1%, 24.7%)
CIE-LABlab(52.00, 59.96, -36.74)
CIE-LCHlch(52.00, 70.32, 328.50°)
OKLaboklab(61.15% 0.1685 -0.1011)
OKLCHoklch(61.15% 0.197 329)
XYZxyz(33.4689, 20.1473, 49.6932)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DBC #4DC051
analogous
#8A4DC0 #C04DBC #C04D82
triadic
#C04DBC #BCC04D #4DBCC0
tetradic
#C04DBC #C08A4D #4DC051 #4D82C0
square
#C04DBC #C08A4D #4DC051 #4D82C0
split-complementary
#C04DBC #82C04D #4DC08A
monochromatic
#6C266A #993696 #C04DBC #D07ACD #E0A7DE

Accessibility & contrast

On white

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

On black

5.03
#C04DBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DBC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DBC#FFFFFF#000000##000000
##C04DBC1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c04dbc;
/* rgb */ color: rgb(192, 77, 188);
/* oklch */ color: oklch(61.2% 0.197 329.0);
Tailwind
colors: {
  custom: {
    50: '#d686d0',
    500: '#c04dbc',
    950: '#000000',
  },
}
SCSS
$custom: #c04dbc;
$custom-light: #d686d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dbc",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 302.087,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.19651,
    "h": 329
  },
  "luminance": 0.20145
}

Semantic roles & 50–950 ramp

primary
#C04DBC
secondary
#9BCD9D
accent
#D75550
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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