#C04EBA#C04EBA

#C04EBA is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.2% C 0.193 H 329.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C04EBA
RGBrgb(192, 78, 186)
HSLhsl(303, 48%, 53%)
HSVhsv(303, 59%, 75%)
CMYKcmyk(0%, 59.4%, 3.1%, 24.7%)
CIE-LABlab(52.07, 59.19, -35.48)
CIE-LCHlch(52.07, 69.01, 329.06°)
OKLaboklab(61.17% 0.1671 -0.0975)
OKLCHoklch(61.17% 0.193 329.7)
XYZxyz(33.3253, 20.2027, 48.5891)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EBA #4EC054
analogous
#8D4EC0 #C04EBA #C04E81
triadic
#C04EBA #BAC04E #4EBAC0
tetradic
#C04EBA #C08D4E #4EC054 #4E81C0
square
#C04EBA #C08D4E #4EC054 #4E81C0
split-complementary
#C04EBA #81C04E #4EC08D
monochromatic
#6D2769 #9A3795 #C04EBA #D07BCC #E0A8DD

Accessibility & contrast

On white

4.17
#C04EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C04EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EBA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EBA#FFFFFF#000000##000000
##C04EBA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#6B82B7
Tritanopia (blue-blind)
#C75A7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04eba;
/* rgb */ color: rgb(192, 78, 186);
/* oklch */ color: oklch(61.2% 0.193 329.7);
Tailwind
colors: {
  custom: {
    50: '#d686cf',
    500: '#c04eba',
    950: '#000000',
  },
}
SCSS
$custom: #c04eba;
$custom-light: #d686cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c04eba",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 303.158,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61168,
    "c": 0.19342,
    "h": 329.7
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#C04EBA
secondary
#9CCE9F
accent
#D75851
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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