#C04DBF#C04DBF

#C04DBF is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.3% C 0.199 H 328.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C04DBF
RGBrgb(192, 77, 191)
HSLhsl(301, 48%, 53%)
HSVhsv(301, 60%, 75%)
CMYKcmyk(0%, 59.9%, 0.5%, 24.7%)
CIE-LABlab(52.15, 60.47, -38.24)
CIE-LCHlch(52.15, 71.55, 327.69°)
OKLaboklab(61.31% 0.1688 -0.1054)
OKLCHoklch(61.31% 0.199 328)
XYZxyz(33.7956, 20.2780, 51.4141)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DBF #4DC04E
analogous
#884DC0 #C04DBF #C04D85
triadic
#C04DBF #BFC04D #4DBFC0
tetradic
#C04DBF #C0884D #4DC04E #4D85C0
square
#C04DBF #C0884D #4DC04E #4D85C0
split-complementary
#C04DBF #85C04D #4DC088
monochromatic
#6C266C #993699 #C04DBF #D07ACF #E0A7E0

Accessibility & contrast

On white

4.15
#C04DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C04DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DBF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DBF#FFFFFF#000000##000000
##C04DBF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4073C2
Deuteranopia (green-blind)
#6882BC
Tritanopia (blue-blind)
#C65B7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04dbf;
/* rgb */ color: rgb(192, 77, 191);
/* oklch */ color: oklch(61.3% 0.199 328.0);
Tailwind
colors: {
  custom: {
    50: '#d686d3',
    500: '#c04dbf',
    950: '#000000',
  },
}
SCSS
$custom: #c04dbf;
$custom-light: #d686d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04dbf",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 300.522,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61309,
    "c": 0.19901,
    "h": 328
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#C04DBF
secondary
#9BCD9C
accent
#D75250
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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