#C04EB7#C04EB7

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

Color values

HEX#C04EB7
RGBrgb(192, 78, 183)
HSLhsl(305, 48%, 53%)
HSVhsv(305, 59%, 75%)
CMYKcmyk(0%, 59.4%, 4.7%, 24.7%)
CIE-LABlab(51.92, 58.68, -33.96)
CIE-LCHlch(51.92, 67.80, 329.94°)
OKLaboklab(61.02% 0.1667 -0.0931)
OKLCHoklch(61.02% 0.191 330.8)
XYZxyz(33.0097, 20.0764, 46.9271)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EB7 #4EC057
analogous
#904EC0 #C04EB7 #C04E7E
triadic
#C04EB7 #B7C04E #4EB7C0
tetradic
#C04EB7 #C0904E #4EC057 #4E7EC0
square
#C04EB7 #C0904E #4EC057 #4E7EC0
split-complementary
#C04EB7 #7EC04E #4EC090
monochromatic
#6D2767 #9A3792 #C04EB7 #D07BC9 #E0A8DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04EB7#FFFFFF#000000##000000
##C04EB71.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)
#4772BA
Deuteranopia (green-blind)
#6C81B4
Tritanopia (blue-blind)
#C7597B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04eb7;
/* rgb */ color: rgb(192, 78, 183);
/* oklch */ color: oklch(61.0% 0.191 330.8);
Tailwind
colors: {
  custom: {
    50: '#d686cd',
    500: '#c04eb7',
    950: '#000000',
  },
}
SCSS
$custom: #c04eb7;
$custom-light: #d686cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04eb7",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 304.737,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61018,
    "c": 0.19096,
    "h": 330.8
  },
  "luminance": 0.20074
}

Semantic roles & 50–950 ramp

primary
#C04EB7
secondary
#9CCEA0
accent
#D75B51
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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