#C04EBB#C04EBB

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

Color values

HEX#C04EBB
RGBrgb(192, 78, 187)
HSLhsl(303, 48%, 53%)
HSVhsv(303, 59%, 75%)
CMYKcmyk(0%, 59.4%, 2.6%, 24.7%)
CIE-LABlab(52.11, 59.36, -35.98)
CIE-LCHlch(52.11, 69.41, 328.77°)
OKLaboklab(61.22% 0.1672 -0.0989)
OKLCHoklch(61.22% 0.194 329.4)
XYZxyz(33.4319, 20.2453, 49.1509)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EBB #4EC053
analogous
#8C4EC0 #C04EBB #C04E82
triadic
#C04EBB #BBC04E #4EBBC0
tetradic
#C04EBB #C08C4E #4EC053 #4E82C0
square
#C04EBB #C08C4E #4EC053 #4E82C0
split-complementary
#C04EBB #82C04E #4EC08C
monochromatic
#6D276A #9A3796 #C04EBB #D07BCC #E0A8DE

Accessibility & contrast

On white

4.16
#C04EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C04EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EBB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EBB#FFFFFF#000000##000000
##C04EBB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BE
Deuteranopia (green-blind)
#6B82B8
Tritanopia (blue-blind)
#C65A7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04ebb;
/* rgb */ color: rgb(192, 78, 187);
/* oklch */ color: oklch(61.2% 0.194 329.4);
Tailwind
colors: {
  custom: {
    50: '#d686d0',
    500: '#c04ebb',
    950: '#000000',
  },
}
SCSS
$custom: #c04ebb;
$custom-light: #d686d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ebb",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 302.632,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.19425,
    "h": 329.4
  },
  "luminance": 0.20243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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