#C04FBA#C04FBA

#C04FBA is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.3% C 0.192 H 329.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C04FBA
RGBrgb(192, 79, 186)
HSLhsl(303, 47%, 53%)
HSVhsv(303, 59%, 75%)
CMYKcmyk(0%, 58.9%, 3.1%, 24.7%)
CIE-LABlab(52.23, 58.75, -35.23)
CIE-LCHlch(52.23, 68.50, 329.05°)
OKLaboklab(61.29% 0.1658 -0.0968)
OKLCHoklch(61.29% 0.192 329.7)
XYZxyz(33.3969, 20.3458, 48.6130)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FBA #4FC055
analogous
#8D4FC0 #C04FBA #C04F81
triadic
#C04FBA #BAC04F #4FBAC0
tetradic
#C04FBA #C08D4F #4FC055 #4F81C0
square
#C04FBA #C08D4F #4FC055 #4F81C0
split-complementary
#C04FBA #81C04F #4FC08D
monochromatic
#6D276A #9A3795 #C04FBA #D07CCC #E0A9DD

Accessibility & contrast

On white

4.14
#C04FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#C04FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FBA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FBA#FFFFFF#000000##000000
##C04FBA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BD
Deuteranopia (green-blind)
#6C82B7
Tritanopia (blue-blind)
#C75B7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04fba;
/* rgb */ color: rgb(192, 79, 186);
/* oklch */ color: oklch(61.3% 0.192 329.7);
Tailwind
colors: {
  custom: {
    50: '#d687cf',
    500: '#c04fba',
    950: '#000000',
  },
}
SCSS
$custom: #c04fba;
$custom-light: #d687cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fba",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 303.186,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61285,
    "c": 0.19198,
    "h": 329.7
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#C04FBA
secondary
#9DCEA0
accent
#D75851
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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