#C04ACF#C04ACF

#C04ACF is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.8% C 0.217 H 323.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C04ACF
RGBrgb(192, 74, 207)
HSLhsl(293, 58%, 55%)
HSVhsv(293, 64%, 81%)
CMYKcmyk(7.2%, 64.3%, 0%, 18.8%)
CIE-LABlab(52.52, 64.56, -46.85)
CIE-LCHlch(52.52, 79.77, 324.03°)
OKLaboklab(61.85% 0.1731 -0.1304)
OKLCHoklch(61.85% 0.217 323)
XYZxyz(35.4484, 20.6110, 61.1305)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04ACF #59CF4A
analogous
#7D4ACF #C04ACF #CF4A9C
triadic
#C04ACF #CFC04A #4ACFC0
tetradic
#C04ACF #CF7D4A #59CF4A #4A9CCF
square
#C04ACF #CF7D4A #59CF4A #4A9CCF
split-complementary
#C04ACF #9CCF4A #4ACF7D
monochromatic
#73217D #9F2EAE #C04ACF #D17ADC #E2ABE9

Accessibility & contrast

On white

4.10
#C04ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#C04ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04ACF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04ACF#FFFFFF#000000##000000
##C04ACF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#5D82CC
Tritanopia (blue-blind)
#C35F86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c04acf;
/* rgb */ color: rgb(192, 74, 207);
/* oklch */ color: oklch(61.8% 0.217 323.0);
Tailwind
colors: {
  custom: {
    50: '#d685de',
    500: '#c04acf',
    950: '#000000',
  },
}
SCSS
$custom: #c04acf;
$custom-light: #d685de;
$custom-dark: #000000;
JSON
{
  "hex": "#c04acf",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 293.233,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61846,
    "c": 0.21672,
    "h": 323
  },
  "luminance": 0.20609
}

Semantic roles & 50–950 ramp

primary
#C04ACF
secondary
#A5D69F
accent
#E14658
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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