#C04FB8#C04FB8

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

Color values

HEX#C04FB8
RGBrgb(192, 79, 184)
HSLhsl(304, 47%, 53%)
HSVhsv(304, 59%, 75%)
CMYKcmyk(0%, 58.9%, 4.2%, 24.7%)
CIE-LABlab(52.13, 58.41, -34.22)
CIE-LCHlch(52.13, 67.69, 329.64°)
OKLaboklab(61.19% 0.1656 -0.0939)
OKLCHoklch(61.19% 0.19 330.5)
XYZxyz(33.1857, 20.2614, 47.5010)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FB8 #4FC057
analogous
#8F4FC0 #C04FB8 #C04F7F
triadic
#C04FB8 #B8C04F #4FB8C0
tetradic
#C04FB8 #C08F4F #4FC057 #4F7FC0
square
#C04FB8 #C08F4F #4FC057 #4F7FC0
split-complementary
#C04FB8 #7FC04F #4FC08F
monochromatic
#6D2768 #9A3793 #C04FB8 #D07CCA #E0A9DC

Accessibility & contrast

On white

4.16
#C04FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C04FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FB8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FB8#FFFFFF#000000##000000
##C04FB81.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4872BB
Deuteranopia (green-blind)
#6D82B5
Tritanopia (blue-blind)
#C75A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04fb8;
/* rgb */ color: rgb(192, 79, 184);
/* oklch */ color: oklch(61.2% 0.190 330.5);
Tailwind
colors: {
  custom: {
    50: '#d687cd',
    500: '#c04fb8',
    950: '#000000',
  },
}
SCSS
$custom: #c04fb8;
$custom-light: #d687cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fb8",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 304.248,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61185,
    "c": 0.19033,
    "h": 330.5
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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