#C04AB5#C04AB5

#C04AB5 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.5% C 0.195 H 331.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C04AB5
RGBrgb(192, 74, 181)
HSLhsl(306, 48%, 52%)
HSVhsv(306, 61%, 75%)
CMYKcmyk(0%, 61.5%, 5.7%, 24.7%)
CIE-LABlab(51.20, 60.08, -33.93)
CIE-LCHlch(51.20, 69.00, 330.54°)
OKLaboklab(60.46% 0.1715 -0.093)
OKLCHoklch(60.46% 0.195 331.5)
XYZxyz(32.5274, 19.4426, 45.7467)
Luminance0.1944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AB5 #4AC055
analogous
#904AC0 #C04AB5 #C04A7A
triadic
#C04AB5 #B5C04A #4AB5C0
tetradic
#C04AB5 #C0904A #4AC055 #4A7AC0
square
#C04AB5 #C0904A #4AC055 #4A7AC0
split-complementary
#C04AB5 #7AC04A #4AC090
monochromatic
#6B2564 #98358F #C04AB5 #D077C8 #E0A5DA

Accessibility & contrast

On white

4.30
#C04AB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#C04AB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AB5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AB5#FFFFFF#000000##000000
##C04AB51.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#446FB8
Deuteranopia (green-blind)
#6B80B2
Tritanopia (blue-blind)
#C75579
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04ab5;
/* rgb */ color: rgb(192, 74, 181);
/* oklch */ color: oklch(60.5% 0.195 331.5);
Tailwind
colors: {
  custom: {
    50: '#d684cb',
    500: '#c04ab5',
    950: '#000000',
  },
}
SCSS
$custom: #c04ab5;
$custom-light: #d684cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ab5",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 305.593,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.19504,
    "h": 331.5
  },
  "luminance": 0.1944
}

Semantic roles & 50–950 ramp

primary
#C04AB5
secondary
#99CD9E
accent
#D85D50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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