#C04AC7#C04AC7

#C04AC7 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.4% C 0.210 H 325.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C04AC7
RGBrgb(192, 74, 199)
HSLhsl(297, 53%, 54%)
HSVhsv(297, 63%, 78%)
CMYKcmyk(3.5%, 62.8%, 0%, 22%)
CIE-LABlab(52.10, 63.13, -42.94)
CIE-LCHlch(52.10, 76.35, 325.78°)
OKLaboklab(61.4% 0.1729 -0.119)
OKLCHoklch(61.4% 0.21 325.5)
XYZxyz(34.4951, 20.2296, 56.1096)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AC7 #51C74A
analogous
#814AC7 #C04AC7 #C74A8F
triadic
#C04AC7 #C7C04A #4AC7C0
tetradic
#C04AC7 #C7814A #51C74A #4A8FC7
square
#C04AC7 #C7814A #51C74A #4A8FC7
split-complementary
#C04AC7 #8FC74A #4AC781
monochromatic
#6F2473 #9B32A2 #C04AC7 #D079D5 #E1A7E4

Accessibility & contrast

On white

4.16
#C04AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C04AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AC7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AC7#FFFFFF#000000##000000
##C04AC71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3573CB
Deuteranopia (green-blind)
#6281C4
Tritanopia (blue-blind)
#C45C82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c04ac7;
/* rgb */ color: rgb(192, 74, 199);
/* oklch */ color: oklch(61.4% 0.210 325.5);
Tailwind
colors: {
  custom: {
    50: '#d684d8',
    500: '#c04ac7',
    950: '#000000',
  },
}
SCSS
$custom: #c04ac7;
$custom-light: #d684d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ac7",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 296.64,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61401,
    "c": 0.20988,
    "h": 325.5
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#C04AC7
secondary
#9FD19C
accent
#DC4C54
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C04AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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