#C04EB6#C04EB6

#C04EB6 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 61.0% C 0.190 H 331.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C04EB6
RGBrgb(192, 78, 182)
HSLhsl(305, 48%, 53%)
HSVhsv(305, 59%, 75%)
CMYKcmyk(0%, 59.4%, 5.2%, 24.7%)
CIE-LABlab(51.88, 58.52, -33.45)
CIE-LCHlch(51.88, 67.40, 330.24°)
OKLaboklab(60.97% 0.1666 -0.0917)
OKLCHoklch(60.97% 0.19 331.2)
XYZxyz(32.9060, 20.0350, 46.3809)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EB6 #4EC058
analogous
#914EC0 #C04EB6 #C04E7D
triadic
#C04EB6 #B6C04E #4EB6C0
tetradic
#C04EB6 #C0914E #4EC058 #4E7DC0
square
#C04EB6 #C0914E #4EC058 #4E7DC0
split-complementary
#C04EB6 #7DC04E #4EC091
monochromatic
#6D2767 #9A3791 #C04EB6 #D07BC9 #E0A8DB

Accessibility & contrast

On white

4.19
#C04EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C04EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EB6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EB6#FFFFFF#000000##000000
##C04EB61.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B9
Deuteranopia (green-blind)
#6D81B3
Tritanopia (blue-blind)
#C7587B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04eb6;
/* rgb */ color: rgb(192, 78, 182);
/* oklch */ color: oklch(61.0% 0.190 331.2);
Tailwind
colors: {
  custom: {
    50: '#d686cc',
    500: '#c04eb6',
    950: '#000000',
  },
}
SCSS
$custom: #c04eb6;
$custom-light: #d686cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c04eb6",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 305.263,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60969,
    "c": 0.19015,
    "h": 331.2
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

primary
#C04EB6
secondary
#9CCEA1
accent
#D75C51
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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