#C04EC8#C04EC8

#C04EC8 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.205 H 325.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C04EC8
RGBrgb(192, 78, 200)
HSLhsl(296, 53%, 55%)
HSVhsv(296, 61%, 78%)
CMYKcmyk(4%, 61%, 0%, 21.6%)
CIE-LABlab(52.76, 61.62, -42.46)
CIE-LCHlch(52.76, 74.83, 325.43°)
OKLaboklab(61.9% 0.1682 -0.1176)
OKLCHoklch(61.9% 0.205 325)
XYZxyz(34.8871, 20.8274, 56.8149)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EC8 #56C84E
analogous
#834EC8 #C04EC8 #C84E93
triadic
#C04EC8 #C8C04E #4EC8C0
tetradic
#C04EC8 #C8834E #56C84E #4E93C8
square
#C04EC8 #C8834E #56C84E #4E93C8
split-complementary
#C04EC8 #93C84E #4EC883
monochromatic
#712577 #9E33A5 #C04EC8 #D17DD7 #E1ABE5

Accessibility & contrast

On white

4.07
#C04EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C04EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EC8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EC8#FFFFFF#000000##000000
##C04EC81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CC
Deuteranopia (green-blind)
#6483C5
Tritanopia (blue-blind)
#C45F84
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04ec8;
/* rgb */ color: rgb(192, 78, 200);
/* oklch */ color: oklch(61.9% 0.205 325.0);
Tailwind
colors: {
  custom: {
    50: '#d687d9',
    500: '#c04ec8',
    950: '#000000',
  },
}
SCSS
$custom: #c04ec8;
$custom-light: #d687d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ec8",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 296.066,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61899,
    "c": 0.20528,
    "h": 325
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

primary
#C04EC8
secondary
#A2D39F
accent
#DC4C55
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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