#C04EBF#C04EBF

#C04EBF is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.4% C 0.198 H 328.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C04EBF
RGBrgb(192, 78, 191)
HSLhsl(301, 48%, 53%)
HSVhsv(301, 59%, 75%)
CMYKcmyk(0%, 59.4%, 0.5%, 24.7%)
CIE-LABlab(52.31, 60.04, -37.99)
CIE-LCHlch(52.31, 71.05, 327.67°)
OKLaboklab(61.42% 0.1676 -0.1047)
OKLCHoklch(61.42% 0.198 328)
XYZxyz(33.8661, 20.4190, 51.4376)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EBF #4EC04F
analogous
#884EC0 #C04EBF #C04E86
triadic
#C04EBF #BFC04E #4EBFC0
tetradic
#C04EBF #C0884E #4EC04F #4E86C0
square
#C04EBF #C0884E #4EC04F #4E86C0
split-complementary
#C04EBF #86C04E #4EC088
monochromatic
#6D276C #9A3799 #C04EBF #D07BCF #E0A8E0

Accessibility & contrast

On white

4.13
#C04EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C04EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EBF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EBF#FFFFFF#000000##000000
##C04EBF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#6982BC
Tritanopia (blue-blind)
#C65C7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04ebf;
/* rgb */ color: rgb(192, 78, 191);
/* oklch */ color: oklch(61.4% 0.198 328.0);
Tailwind
colors: {
  custom: {
    50: '#d686d3',
    500: '#c04ebf',
    950: '#000000',
  },
}
SCSS
$custom: #c04ebf;
$custom-light: #d686d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ebf",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 300.526,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.19759,
    "h": 328
  },
  "luminance": 0.20417
}

Semantic roles & 50–950 ramp

primary
#C04EBF
secondary
#9CCE9D
accent
#D75251
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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