#C04FB9#C04FB9

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

Color values

HEX#C04FB9
RGBrgb(192, 79, 185)
HSLhsl(304, 47%, 53%)
HSVhsv(304, 59%, 75%)
CMYKcmyk(0%, 58.9%, 3.6%, 24.7%)
CIE-LABlab(52.18, 58.58, -34.72)
CIE-LCHlch(52.18, 68.10, 329.34°)
OKLaboklab(61.23% 0.1657 -0.0953)
OKLCHoklch(61.23% 0.191 330.1)
XYZxyz(33.2909, 20.3035, 48.0550)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FB9 #4FC056
analogous
#8E4FC0 #C04FB9 #C04F80
triadic
#C04FB9 #B9C04F #4FB9C0
tetradic
#C04FB9 #C08E4F #4FC056 #4F80C0
square
#C04FB9 #C08E4F #4FC056 #4F80C0
split-complementary
#C04FB9 #80C04F #4FC08E
monochromatic
#6D2769 #9A3794 #C04FB9 #D07CCB #E0A9DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04FB9#FFFFFF#000000##000000
##C04FB91.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)
#4773BC
Deuteranopia (green-blind)
#6C82B6
Tritanopia (blue-blind)
#C75A7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04fb9;
/* rgb */ color: rgb(192, 79, 185);
/* oklch */ color: oklch(61.2% 0.191 330.1);
Tailwind
colors: {
  custom: {
    50: '#d687ce',
    500: '#c04fb9',
    950: '#000000',
  },
}
SCSS
$custom: #c04fb9;
$custom-light: #d687ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fb9",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 303.717,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61235,
    "c": 0.19116,
    "h": 330.1
  },
  "luminance": 0.20301
}

Semantic roles & 50–950 ramp

primary
#C04FB9
secondary
#9DCEA0
accent
#D75951
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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