#C04EB2#C04EB2

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

Color values

HEX#C04EB2
RGBrgb(192, 78, 178)
HSLhsl(307, 48%, 53%)
HSVhsv(307, 59%, 75%)
CMYKcmyk(0%, 59.4%, 7.3%, 24.7%)
CIE-LABlab(51.69, 57.86, -31.42)
CIE-LCHlch(51.69, 65.83, 331.50°)
OKLaboklab(60.77% 0.1661 -0.0858)
OKLCHoklch(60.77% 0.187 332.7)
XYZxyz(32.4985, 19.8720, 44.2348)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EB2 #4EC05C
analogous
#954EC0 #C04EB2 #C04E79
triadic
#C04EB2 #B2C04E #4EB2C0
tetradic
#C04EB2 #C0954E #4EC05C #4E79C0
square
#C04EB2 #C0954E #4EC05C #4E79C0
split-complementary
#C04EB2 #79C04E #4EC095
monochromatic
#6D2764 #9A378E #C04EB2 #D07BC6 #E0A8D9

Accessibility & contrast

On white

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

On black

4.97
#C04EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EB2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EB2#FFFFFF#000000##000000
##C04EB21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c04eb2;
/* rgb */ color: rgb(192, 78, 178);
/* oklch */ color: oklch(60.8% 0.187 332.7);
Tailwind
colors: {
  custom: {
    50: '#d686c9',
    500: '#c04eb2',
    950: '#000000',
  },
}
SCSS
$custom: #c04eb2;
$custom-light: #d686c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c04eb2",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 307.368,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.18693,
    "h": 332.7
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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