#C04EB5#C04EB5

#C04EB5 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.189 H 331.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C04EB5
RGBrgb(192, 78, 181)
HSLhsl(306, 48%, 53%)
HSVhsv(306, 59%, 75%)
CMYKcmyk(0%, 59.4%, 5.7%, 24.7%)
CIE-LABlab(51.83, 58.35, -32.95)
CIE-LCHlch(51.83, 67.01, 330.55°)
OKLaboklab(60.92% 0.1665 -0.0902)
OKLCHoklch(60.92% 0.189 331.5)
XYZxyz(32.8030, 19.9938, 45.8386)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EB5 #4EC059
analogous
#924EC0 #C04EB5 #C04E7C
triadic
#C04EB5 #B5C04E #4EB5C0
tetradic
#C04EB5 #C0924E #4EC059 #4E7CC0
square
#C04EB5 #C0924E #4EC059 #4E7CC0
split-complementary
#C04EB5 #7CC04E #4EC092
monochromatic
#6D2766 #9A3790 #C04EB5 #D07BC8 #E0A8DB

Accessibility & contrast

On white

4.20
#C04EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C04EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EB5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EB5#FFFFFF#000000##000000
##C04EB51.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4971B8
Deuteranopia (green-blind)
#6D81B2
Tritanopia (blue-blind)
#C7587A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04eb5;
/* rgb */ color: rgb(192, 78, 181);
/* oklch */ color: oklch(60.9% 0.189 331.5);
Tailwind
colors: {
  custom: {
    50: '#d686cb',
    500: '#c04eb5',
    950: '#000000',
  },
}
SCSS
$custom: #c04eb5;
$custom-light: #d686cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04eb5",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 305.789,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60919,
    "c": 0.18934,
    "h": 331.5
  },
  "luminance": 0.19991
}

Semantic roles & 50–950 ramp

primary
#C04EB5
secondary
#9CCEA1
accent
#D75E51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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