#C04AD1#C04AD1

#C04AD1 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 62.0% C 0.218 H 322.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C04AD1
RGBrgb(192, 74, 209)
HSLhsl(292, 59%, 55%)
HSVhsv(292, 65%, 82%)
CMYKcmyk(8.1%, 64.6%, 0%, 18%)
CIE-LABlab(52.63, 64.92, -47.82)
CIE-LCHlch(52.63, 80.63, 323.62°)
OKLaboklab(61.96% 0.1732 -0.1332)
OKLCHoklch(61.96% 0.218 322.4)
XYZxyz(35.6945, 20.7094, 62.4264)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AD1 #5BD14A
analogous
#7C4AD1 #C04AD1 #D14A9F
triadic
#C04AD1 #D1C04A #4AD1C0
tetradic
#C04AD1 #D17C4A #5BD14A #4A9FD1
square
#C04AD1 #D17C4A #5BD14A #4A9FD1
split-complementary
#C04AD1 #9FD14A #4AD17C
monochromatic
#742180 #A02DB1 #C04AD1 #D17BDD #E2ACEA

Accessibility & contrast

On white

4.08
#C04AD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#C04AD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AD1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AD1#FFFFFF#000000##000000
##C04AD11.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2975D5
Deuteranopia (green-blind)
#5C82CE
Tritanopia (blue-blind)
#C26087
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c04ad1;
/* rgb */ color: rgb(192, 74, 209);
/* oklch */ color: oklch(62.0% 0.218 322.4);
Tailwind
colors: {
  custom: {
    50: '#d685e0',
    500: '#c04ad1',
    950: '#000000',
  },
}
SCSS
$custom: #c04ad1;
$custom-light: #d685e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ad1",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 209
  },
  "hsl": {
    "h": 292.444,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.21845,
    "h": 322.4
  },
  "luminance": 0.20707
}

Semantic roles & 50–950 ramp

primary
#C04AD1
secondary
#A6D89F
accent
#E34559
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C04AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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