#C04EB3#C04EB3

#C04EB3 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.188 H 332.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C04EB3
RGBrgb(192, 78, 179)
HSLhsl(307, 48%, 53%)
HSVhsv(307, 59%, 75%)
CMYKcmyk(0%, 59.4%, 6.8%, 24.7%)
CIE-LABlab(51.74, 58.02, -31.93)
CIE-LCHlch(51.74, 66.22, 331.18°)
OKLaboklab(60.82% 0.1662 -0.0873)
OKLCHoklch(60.82% 0.188 332.3)
XYZxyz(32.5993, 19.9123, 44.7655)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EB3 #4EC05B
analogous
#944EC0 #C04EB3 #C04E7A
triadic
#C04EB3 #B3C04E #4EB3C0
tetradic
#C04EB3 #C0944E #4EC05B #4E7AC0
square
#C04EB3 #C0944E #4EC05B #4E7AC0
split-complementary
#C04EB3 #7AC04E #4EC094
monochromatic
#6D2765 #9A378F #C04EB3 #D07BC6 #E0A8DA

Accessibility & contrast

On white

4.22
#C04EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C04EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EB3
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EB3#FFFFFF#000000##000000
##C04EB31.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B6
Deuteranopia (green-blind)
#6E81B0
Tritanopia (blue-blind)
#C85779
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04eb3;
/* rgb */ color: rgb(192, 78, 179);
/* oklch */ color: oklch(60.8% 0.188 332.3);
Tailwind
colors: {
  custom: {
    50: '#d686ca',
    500: '#c04eb3',
    950: '#000000',
  },
}
SCSS
$custom: #c04eb3;
$custom-light: #d686ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c04eb3",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 306.842,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60822,
    "c": 0.18773,
    "h": 332.3
  },
  "luminance": 0.1991
}

Semantic roles & 50–950 ramp

primary
#C04EB3
secondary
#9CCEA2
accent
#D76051
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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