#C04ABA#C04ABA

#C04ABA is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.7% C 0.199 H 329.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C04ABA
RGBrgb(192, 74, 186)
HSLhsl(303, 48%, 52%)
HSVhsv(303, 61%, 75%)
CMYKcmyk(0%, 61.5%, 3.1%, 24.7%)
CIE-LABlab(51.44, 60.90, -36.46)
CIE-LCHlch(51.44, 70.98, 329.09°)
OKLaboklab(60.71% 0.172 -0.1003)
OKLCHoklch(60.71% 0.199 329.8)
XYZxyz(33.0497, 19.6515, 48.4972)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04ABA #4AC050
analogous
#8B4AC0 #C04ABA #C04A7F
triadic
#C04ABA #BAC04A #4ABAC0
tetradic
#C04ABA #C08B4A #4AC050 #4A7FC0
square
#C04ABA #C08B4A #4AC050 #4A7FC0
split-complementary
#C04ABA #7FC04A #4AC08B
monochromatic
#6B2567 #983593 #C04ABA #D077CB #E0A5DD

Accessibility & contrast

On white

4.26
#C04ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C04ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04ABA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04ABA#FFFFFF#000000##000000
##C04ABA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4070BD
Deuteranopia (green-blind)
#6980B7
Tritanopia (blue-blind)
#C7577B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04aba;
/* rgb */ color: rgb(192, 74, 186);
/* oklch */ color: oklch(60.7% 0.199 329.8);
Tailwind
colors: {
  custom: {
    50: '#d684cf',
    500: '#c04aba',
    950: '#000000',
  },
}
SCSS
$custom: #c04aba;
$custom-light: #d684cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c04aba",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 303.051,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.19907,
    "h": 329.8
  },
  "luminance": 0.19649
}

Semantic roles & 50–950 ramp

primary
#C04ABA
secondary
#99CD9C
accent
#D85750
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C04ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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