#C04EBD#C04EBD

#C04EBD is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.3% C 0.196 H 328.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C04EBD
RGBrgb(192, 78, 189)
HSLhsl(302, 48%, 53%)
HSVhsv(302, 59%, 75%)
CMYKcmyk(0%, 59.4%, 1.6%, 24.7%)
CIE-LABlab(52.21, 59.70, -36.99)
CIE-LCHlch(52.21, 70.23, 328.22°)
OKLaboklab(61.32% 0.1674 -0.1018)
OKLCHoklch(61.32% 0.196 328.7)
XYZxyz(33.6475, 20.3316, 50.2864)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EBD #4EC051
analogous
#8A4EC0 #C04EBD #C04E84
triadic
#C04EBD #BDC04E #4EBDC0
tetradic
#C04EBD #C08A4E #4EC051 #4E84C0
square
#C04EBD #C08A4E #4EC051 #4E84C0
split-complementary
#C04EBD #84C04E #4EC08A
monochromatic
#6D276B #9A3797 #C04EBD #D07BCE #E0A8DF

Accessibility & contrast

On white

4.15
#C04EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#C04EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EBD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EBD#FFFFFF#000000##000000
##C04EBD1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#6A82BA
Tritanopia (blue-blind)
#C65B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04ebd;
/* rgb */ color: rgb(192, 78, 189);
/* oklch */ color: oklch(61.3% 0.196 328.7);
Tailwind
colors: {
  custom: {
    50: '#d686d1',
    500: '#c04ebd',
    950: '#000000',
  },
}
SCSS
$custom: #c04ebd;
$custom-light: #d686d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ebd",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 301.579,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6132,
    "c": 0.19591,
    "h": 328.7
  },
  "luminance": 0.20329
}

Semantic roles & 50–950 ramp

primary
#C04EBD
secondary
#9CCE9E
accent
#D75451
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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