#C04FBD#C04FBD

#C04FBD is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.4% C 0.194 H 328.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C04FBD
RGBrgb(192, 79, 189)
HSLhsl(302, 47%, 53%)
HSVhsv(302, 59%, 75%)
CMYKcmyk(0%, 58.9%, 1.6%, 24.7%)
CIE-LABlab(52.37, 59.26, -36.74)
CIE-LCHlch(52.37, 69.72, 328.20°)
OKLaboklab(61.44% 0.1661 -0.1011)
OKLCHoklch(61.44% 0.194 328.7)
XYZxyz(33.7191, 20.4748, 50.3103)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FBD #4FC052
analogous
#8A4FC0 #C04FBD #C04F84
triadic
#C04FBD #BDC04F #4FBDC0
tetradic
#C04FBD #C08A4F #4FC052 #4F84C0
square
#C04FBD #C08A4F #4FC052 #4F84C0
split-complementary
#C04FBD #84C04F #4FC08A
monochromatic
#6D276C #9A3798 #C04FBD #D07CCE #E0A9DF

Accessibility & contrast

On white

4.12
#C04FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C04FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FBD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FBD#FFFFFF#000000##000000
##C04FBD1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473C0
Deuteranopia (green-blind)
#6A82BA
Tritanopia (blue-blind)
#C65C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04fbd;
/* rgb */ color: rgb(192, 79, 189);
/* oklch */ color: oklch(61.4% 0.194 328.7);
Tailwind
colors: {
  custom: {
    50: '#d687d1',
    500: '#c04fbd',
    950: '#000000',
  },
}
SCSS
$custom: #c04fbd;
$custom-light: #d687d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fbd",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 301.593,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.19448,
    "h": 328.7
  },
  "luminance": 0.20473
}

Semantic roles & 50–950 ramp

primary
#C04FBD
secondary
#9DCE9E
accent
#D75451
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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