#C04ABF#C04ABF

#C04ABF is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.0% C 0.203 H 328.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C04ABF
RGBrgb(192, 74, 191)
HSLhsl(301, 48%, 52%)
HSVhsv(301, 61%, 75%)
CMYKcmyk(0%, 61.5%, 0.5%, 24.7%)
CIE-LABlab(51.69, 61.75, -38.97)
CIE-LCHlch(51.69, 73.02, 327.74°)
OKLaboklab(60.97% 0.1724 -0.1075)
OKLCHoklch(60.97% 0.203 328.1)
XYZxyz(33.5905, 19.8678, 51.3457)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04ABF #4AC04B
analogous
#864AC0 #C04ABF #C04A84
triadic
#C04ABF #BFC04A #4ABFC0
tetradic
#C04ABF #C0864A #4AC04B #4A84C0
square
#C04ABF #C0864A #4AC04B #4A84C0
split-complementary
#C04ABF #84C04A #4AC086
monochromatic
#6B256A #983597 #C04ABF #D077CF #E0A5DF

Accessibility & contrast

On white

4.22
#C04ABF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C04ABF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04ABF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04ABF#FFFFFF#000000##000000
##C04ABF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C3
Deuteranopia (green-blind)
#6681BC
Tritanopia (blue-blind)
#C6597E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04abf;
/* rgb */ color: rgb(192, 74, 191);
/* oklch */ color: oklch(61.0% 0.203 328.1);
Tailwind
colors: {
  custom: {
    50: '#d684d3',
    500: '#c04abf',
    950: '#000000',
  },
}
SCSS
$custom: #c04abf;
$custom-light: #d684d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04abf",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 300.508,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.20318,
    "h": 328.1
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#C04ABF
secondary
#99CD9A
accent
#D85150
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C04ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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