#C04FB0#C04FB0

#C04FB0 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.184 H 333.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C04FB0
RGBrgb(192, 79, 176)
HSLhsl(308, 47%, 53%)
HSVhsv(308, 59%, 75%)
CMYKcmyk(0%, 58.9%, 8.3%, 24.7%)
CIE-LABlab(51.76, 57.09, -30.14)
CIE-LCHlch(51.76, 64.55, 332.17°)
OKLaboklab(60.8% 0.1645 -0.0822)
OKLCHoklch(60.8% 0.184 333.5)
XYZxyz(32.3708, 19.9354, 43.2088)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FB0 #4FC05F
analogous
#984FC0 #C04FB0 #C04F77
triadic
#C04FB0 #B0C04F #4FB0C0
tetradic
#C04FB0 #C0984F #4FC05F #4F77C0
square
#C04FB0 #C0984F #4FC05F #4F77C0
split-complementary
#C04FB0 #77C04F #4FC098
monochromatic
#6D2763 #9A378C #C04FB0 #D07CC4 #E0A9D8

Accessibility & contrast

On white

4.21
#C04FB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C04FB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FB0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FB0#FFFFFF#000000##000000
##C04FB01.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D71B3
Deuteranopia (green-blind)
#7081AD
Tritanopia (blue-blind)
#C85778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04fb0;
/* rgb */ color: rgb(192, 79, 176);
/* oklch */ color: oklch(60.8% 0.184 333.5);
Tailwind
colors: {
  custom: {
    50: '#d687c8',
    500: '#c04fb0',
    950: '#000000',
  },
}
SCSS
$custom: #c04fb0;
$custom-light: #d687c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fb0",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 308.496,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60796,
    "c": 0.18388,
    "h": 333.5
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#C04FB0
secondary
#9DCEA4
accent
#D76451
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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