#C04CBF#C04CBF

#C04CBF is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.2% C 0.200 H 328.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C04CBF
RGBrgb(192, 76, 191)
HSLhsl(301, 48%, 53%)
HSVhsv(301, 60%, 75%)
CMYKcmyk(0%, 60.4%, 0.5%, 24.7%)
CIE-LABlab(51.99, 60.90, -38.49)
CIE-LCHlch(51.99, 72.04, 327.71°)
OKLaboklab(61.2% 0.17 -0.1061)
OKLCHoklch(61.2% 0.2 328)
XYZxyz(33.7262, 20.1391, 51.3910)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CBF #4CC04D
analogous
#874CC0 #C04CBF #C04C85
triadic
#C04CBF #BFC04C #4CBFC0
tetradic
#C04CBF #C0874C #4CC04D #4C85C0
square
#C04CBF #C0874C #4CC04D #4C85C0
split-complementary
#C04CBF #85C04C #4CC087
monochromatic
#6C266B #993698 #C04CBF #D079CF #E0A7DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04CBF#FFFFFF#000000##000000
##C04CBF1.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)
#3F72C2
Deuteranopia (green-blind)
#6881BC
Tritanopia (blue-blind)
#C65A7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04cbf;
/* rgb */ color: rgb(192, 76, 191);
/* oklch */ color: oklch(61.2% 0.200 328.0);
Tailwind
colors: {
  custom: {
    50: '#d685d3',
    500: '#c04cbf',
    950: '#000000',
  },
}
SCSS
$custom: #c04cbf;
$custom-light: #d685d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cbf",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 300.517,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61195,
    "c": 0.20041,
    "h": 328
  },
  "luminance": 0.20137
}

Semantic roles & 50–950 ramp

primary
#C04CBF
secondary
#9BCD9B
accent
#D85150
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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