#C04EBC#C04EBC

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

Color values

HEX#C04EBC
RGBrgb(192, 78, 188)
HSLhsl(302, 48%, 53%)
HSVhsv(302, 59%, 75%)
CMYKcmyk(0%, 59.4%, 2.1%, 24.7%)
CIE-LABlab(52.16, 59.53, -36.49)
CIE-LCHlch(52.16, 69.82, 328.49°)
OKLaboklab(61.27% 0.1673 -0.1004)
OKLCHoklch(61.27% 0.195 329)
XYZxyz(33.5394, 20.2883, 49.7167)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EBC #4EC052
analogous
#8B4EC0 #C04EBC #C04E83
triadic
#C04EBC #BCC04E #4EBCC0
tetradic
#C04EBC #C08B4E #4EC052 #4E83C0
square
#C04EBC #C08B4E #4EC052 #4E83C0
split-complementary
#C04EBC #83C04E #4EC08B
monochromatic
#6D276A #9A3797 #C04EBC #D07BCD #E0A8DE

Accessibility & contrast

On white

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

On black

5.06
#C04EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EBC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EBC#FFFFFF#000000##000000
##C04EBC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#6A82B9
Tritanopia (blue-blind)
#C65B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04ebc;
/* rgb */ color: rgb(192, 78, 188);
/* oklch */ color: oklch(61.3% 0.195 329.0);
Tailwind
colors: {
  custom: {
    50: '#d686d0',
    500: '#c04ebc',
    950: '#000000',
  },
}
SCSS
$custom: #c04ebc;
$custom-light: #d686d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ebc",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 302.105,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61269,
    "c": 0.19509,
    "h": 329
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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