#C04FB3#C04FB3

#C04FB3 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.186 H 332.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C04FB3
RGBrgb(192, 79, 179)
HSLhsl(307, 47%, 53%)
HSVhsv(307, 59%, 75%)
CMYKcmyk(0%, 58.9%, 6.8%, 24.7%)
CIE-LABlab(51.90, 57.58, -31.67)
CIE-LCHlch(51.90, 65.72, 331.18°)
OKLaboklab(60.94% 0.1649 -0.0866)
OKLCHoklch(60.94% 0.186 332.3)
XYZxyz(32.6709, 20.0554, 44.7894)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FB3 #4FC05C
analogous
#944FC0 #C04FB3 #C04F7A
triadic
#C04FB3 #B3C04F #4FB3C0
tetradic
#C04FB3 #C0944F #4FC05C #4F7AC0
square
#C04FB3 #C0944F #4FC05C #4F7AC0
split-complementary
#C04FB3 #7AC04F #4FC094
monochromatic
#6D2765 #9A378F #C04FB3 #D07CC6 #E0A9DA

Accessibility & contrast

On white

4.19
#C04FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C04FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FB3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FB3#FFFFFF#000000##000000
##C04FB31.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B6
Deuteranopia (green-blind)
#6F82B0
Tritanopia (blue-blind)
#C8587A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04fb3;
/* rgb */ color: rgb(192, 79, 179);
/* oklch */ color: oklch(60.9% 0.186 332.3);
Tailwind
colors: {
  custom: {
    50: '#d687ca',
    500: '#c04fb3',
    950: '#000000',
  },
}
SCSS
$custom: #c04fb3;
$custom-light: #d687ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fb3",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 306.903,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6094,
    "c": 0.18627,
    "h": 332.3
  },
  "luminance": 0.20053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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