#C04FBC#C04FBC

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

Color values

HEX#C04FBC
RGBrgb(192, 79, 188)
HSLhsl(302, 47%, 53%)
HSVhsv(302, 59%, 75%)
CMYKcmyk(0%, 58.9%, 2.1%, 24.7%)
CIE-LABlab(52.32, 59.09, -36.24)
CIE-LCHlch(52.32, 69.31, 328.48°)
OKLaboklab(61.39% 0.166 -0.0997)
OKLCHoklch(61.39% 0.194 329)
XYZxyz(33.6110, 20.4315, 49.7406)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FBC #4FC053
analogous
#8B4FC0 #C04FBC #C04F83
triadic
#C04FBC #BCC04F #4FBCC0
tetradic
#C04FBC #C08B4F #4FC053 #4F83C0
square
#C04FBC #C08B4F #4FC053 #4F83C0
split-complementary
#C04FBC #83C04F #4FC08B
monochromatic
#6D276B #9A3797 #C04FBC #D07CCD #E0A9DE

Accessibility & contrast

On white

4.13
#C04FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04FBC#FFFFFF#000000##000000
##C04FBC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#6B82B9
Tritanopia (blue-blind)
#C65B7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04fbc;
/* rgb */ color: rgb(192, 79, 188);
/* oklch */ color: oklch(61.4% 0.194 329.0);
Tailwind
colors: {
  custom: {
    50: '#d687d0',
    500: '#c04fbc',
    950: '#000000',
  },
}
SCSS
$custom: #c04fbc;
$custom-light: #d687d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fbc",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 302.124,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61386,
    "c": 0.19364,
    "h": 329
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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