#C04CBE#C04CBE

#C04CBE is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.1% C 0.200 H 328.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C04CBE
RGBrgb(192, 76, 190)
HSLhsl(301, 48%, 53%)
HSVhsv(301, 60%, 75%)
CMYKcmyk(0%, 60.4%, 1%, 24.7%)
CIE-LABlab(51.94, 60.73, -37.99)
CIE-LCHlch(51.94, 71.63, 327.97°)
OKLaboklab(61.14% 0.1699 -0.1047)
OKLCHoklch(61.14% 0.2 328.4)
XYZxyz(33.6165, 20.0953, 50.8134)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CBE #4CC04E
analogous
#884CC0 #C04CBE #C04C84
triadic
#C04CBE #BEC04C #4CBEC0
tetradic
#C04CBE #C0884C #4CC04E #4C84C0
square
#C04CBE #C0884C #4CC04E #4C84C0
split-complementary
#C04CBE #84C04C #4CC088
monochromatic
#6C266A #993697 #C04CBE #D079CE #E0A7DF

Accessibility & contrast

On white

4.18
#C04CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C04CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CBE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CBE#FFFFFF#000000##000000
##C04CBE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C1
Deuteranopia (green-blind)
#6881BB
Tritanopia (blue-blind)
#C65A7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04cbe;
/* rgb */ color: rgb(192, 76, 190);
/* oklch */ color: oklch(61.1% 0.200 328.4);
Tailwind
colors: {
  custom: {
    50: '#d685d2',
    500: '#c04cbe',
    950: '#000000',
  },
}
SCSS
$custom: #c04cbe;
$custom-light: #d685d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cbe",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 301.034,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61143,
    "c": 0.19958,
    "h": 328.4
  },
  "luminance": 0.20093
}

Semantic roles & 50–950 ramp

primary
#C04CBE
secondary
#9BCD9C
accent
#D85350
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C04CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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