#C04DCB#C04DCB

#C04DCB is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.209 H 324.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C04DCB
RGBrgb(192, 77, 203)
HSLhsl(295, 55%, 55%)
HSVhsv(295, 62%, 80%)
CMYKcmyk(5.4%, 62.1%, 0%, 20.4%)
CIE-LABlab(52.76, 62.58, -44.18)
CIE-LCHlch(52.76, 76.61, 324.78°)
OKLaboklab(61.95% 0.1696 -0.1226)
OKLCHoklch(61.95% 0.209 324.1)
XYZxyz(35.1707, 20.8280, 58.6560)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DCB #58CB4D
analogous
#814DCB #C04DCB #CB4D97
triadic
#C04DCB #CBC04D #4DCBC0
tetradic
#C04DCB #CB814D #58CB4D #4D97CB
square
#C04DCB #CB814D #58CB4D #4D97CB
split-complementary
#C04DCB #97CB4D #4DCB81
monochromatic
#72247A #9F31A9 #C04DCB #D17CD9 #E2ACE7

Accessibility & contrast

On white

4.07
#C04DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C04DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DCB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DCB#FFFFFF#000000##000000
##C04DCB1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#6283C8
Tritanopia (blue-blind)
#C46085
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04dcb;
/* rgb */ color: rgb(192, 77, 203);
/* oklch */ color: oklch(62.0% 0.209 324.1);
Tailwind
colors: {
  custom: {
    50: '#d686db',
    500: '#c04dcb',
    950: '#000000',
  },
}
SCSS
$custom: #c04dcb;
$custom-light: #d686db;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dcb",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 294.762,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6195,
    "c": 0.20926,
    "h": 324.1
  },
  "luminance": 0.20826
}

Semantic roles & 50–950 ramp

primary
#C04DCB
secondary
#A4D49F
accent
#DE4A57
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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