#C04AB7#C04AB7

#C04AB7 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.6% C 0.197 H 330.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C04AB7
RGBrgb(192, 74, 183)
HSLhsl(305, 48%, 52%)
HSVhsv(305, 61%, 75%)
CMYKcmyk(0%, 61.5%, 4.7%, 24.7%)
CIE-LABlab(51.30, 60.41, -34.95)
CIE-LCHlch(51.30, 69.79, 329.95°)
OKLaboklab(60.56% 0.1717 -0.0959)
OKLCHoklch(60.56% 0.197 330.8)
XYZxyz(32.7341, 19.5253, 46.8352)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AB7 #4AC053
analogous
#8E4AC0 #C04AB7 #C04A7C
triadic
#C04AB7 #B7C04A #4AB7C0
tetradic
#C04AB7 #C08E4A #4AC053 #4A7CC0
square
#C04AB7 #C08E4A #4AC053 #4A7CC0
split-complementary
#C04AB7 #7CC04A #4AC08E
monochromatic
#6B2565 #983590 #C04AB7 #D077C9 #E0A5DB

Accessibility & contrast

On white

4.28
#C04AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C04AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AB7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AB7#FFFFFF#000000##000000
##C04AB71.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4370BA
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#C7567A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04ab7;
/* rgb */ color: rgb(192, 74, 183);
/* oklch */ color: oklch(60.6% 0.197 330.8);
Tailwind
colors: {
  custom: {
    50: '#d684cd',
    500: '#c04ab7',
    950: '#000000',
  },
}
SCSS
$custom: #c04ab7;
$custom-light: #d684cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ab7",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 304.576,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.19665,
    "h": 330.8
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#C04AB7
secondary
#99CD9D
accent
#D85A50
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C04AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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