#C04FBF#C04FBF

#C04FBF is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.196 H 328.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C04FBF
RGBrgb(192, 79, 191)
HSLhsl(301, 47%, 53%)
HSVhsv(301, 59%, 75%)
CMYKcmyk(0%, 58.9%, 0.5%, 24.7%)
CIE-LABlab(52.47, 59.60, -37.74)
CIE-LCHlch(52.47, 70.55, 327.66°)
OKLaboklab(61.54% 0.1663 -0.104)
OKLCHoklch(61.54% 0.196 328)
XYZxyz(33.9377, 20.5622, 51.4615)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FBF #4FC050
analogous
#884FC0 #C04FBF #C04F86
triadic
#C04FBF #BFC04F #4FBFC0
tetradic
#C04FBF #C0884F #4FC050 #4F86C0
square
#C04FBF #C0884F #4FC050 #4F86C0
split-complementary
#C04FBF #86C04F #4FC088
monochromatic
#6D276D #9A379A #C04FBF #D07CCF #E0A9E0

Accessibility & contrast

On white

4.11
#C04FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C04FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FBF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FBF#FFFFFF#000000##000000
##C04FBF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#6982BC
Tritanopia (blue-blind)
#C65D80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04fbf;
/* rgb */ color: rgb(192, 79, 191);
/* oklch */ color: oklch(61.5% 0.196 328.0);
Tailwind
colors: {
  custom: {
    50: '#d687d2',
    500: '#c04fbf',
    950: '#000000',
  },
}
SCSS
$custom: #c04fbf;
$custom-light: #d687d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fbf",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 300.531,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.19617,
    "h": 328
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#C04FBF
secondary
#9DCE9D
accent
#D75251
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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