#C04FBB#C04FBB

#C04FBB is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.3% C 0.193 H 329.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C04FBB
RGBrgb(192, 79, 187)
HSLhsl(303, 47%, 53%)
HSVhsv(303, 59%, 75%)
CMYKcmyk(0%, 58.9%, 2.6%, 24.7%)
CIE-LABlab(52.27, 58.92, -35.73)
CIE-LCHlch(52.27, 68.91, 328.76°)
OKLaboklab(61.34% 0.1659 -0.0982)
OKLCHoklch(61.34% 0.193 329.4)
XYZxyz(33.5035, 20.3885, 49.1748)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FBB #4FC054
analogous
#8C4FC0 #C04FBB #C04F82
triadic
#C04FBB #BBC04F #4FBBC0
tetradic
#C04FBB #C08C4F #4FC054 #4F82C0
square
#C04FBB #C08C4F #4FC054 #4F82C0
split-complementary
#C04FBB #82C04F #4FC08C
monochromatic
#6D276A #9A3796 #C04FBB #D07CCC #E0A9DE

Accessibility & contrast

On white

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

On black

5.08
#C04FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FBB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FBB#FFFFFF#000000##000000
##C04FBB1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#6B82B8
Tritanopia (blue-blind)
#C65B7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04fbb;
/* rgb */ color: rgb(192, 79, 187);
/* oklch */ color: oklch(61.3% 0.193 329.4);
Tailwind
colors: {
  custom: {
    50: '#d687d0',
    500: '#c04fbb',
    950: '#000000',
  },
}
SCSS
$custom: #c04fbb;
$custom-light: #d687d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fbb",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 302.655,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61336,
    "c": 0.19281,
    "h": 329.4
  },
  "luminance": 0.20386
}

Semantic roles & 50–950 ramp

primary
#C04FBB
secondary
#9DCE9F
accent
#D75751
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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