#C04FB2#C04FB2

#C04FB2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.185 H 332.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C04FB2
RGBrgb(192, 79, 178)
HSLhsl(307, 47%, 53%)
HSVhsv(307, 59%, 75%)
CMYKcmyk(0%, 58.9%, 7.3%, 24.7%)
CIE-LABlab(51.85, 57.41, -31.16)
CIE-LCHlch(51.85, 65.33, 331.51°)
OKLaboklab(60.89% 0.1648 -0.0851)
OKLCHoklch(60.89% 0.185 332.7)
XYZxyz(32.5701, 20.0151, 44.2587)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FB2 #4FC05D
analogous
#964FC0 #C04FB2 #C04F79
triadic
#C04FB2 #B2C04F #4FB2C0
tetradic
#C04FB2 #C0964F #4FC05D #4F79C0
square
#C04FB2 #C0964F #4FC05D #4F79C0
split-complementary
#C04FB2 #79C04F #4FC096
monochromatic
#6D2765 #9A378E #C04FB2 #D07CC6 #E0A9D9

Accessibility & contrast

On white

4.20
#C04FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C04FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FB2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FB2#FFFFFF#000000##000000
##C04FB21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#6F81AF
Tritanopia (blue-blind)
#C85879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04fb2;
/* rgb */ color: rgb(192, 79, 178);
/* oklch */ color: oklch(60.9% 0.185 332.7);
Tailwind
colors: {
  custom: {
    50: '#d687c9',
    500: '#c04fb2',
    950: '#000000',
  },
}
SCSS
$custom: #c04fb2;
$custom-light: #d687c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fb2",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 307.434,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60892,
    "c": 0.18547,
    "h": 332.7
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#C04FB2
secondary
#9DCEA3
accent
#D76251
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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