#C42ACA#C42ACA

#C42ACA is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.4% C 0.249 H 326.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C42ACA
RGBrgb(196, 42, 202)
HSLhsl(298, 66%, 48%)
HSVhsv(298, 79%, 79%)
CMYKcmyk(3%, 79.2%, 0%, 20.8%)
CIE-LABlab(49.08, 75.30, -49.43)
CIE-LCHlch(49.08, 90.07, 326.72°)
OKLaboklab(59.41% 0.2073 -0.1375)
OKLCHoklch(59.41% 0.249 326.4)
XYZxyz(34.2530, 17.6584, 57.4700)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42ACA #30CA2A
analogous
#742ACA #C42ACA #CA2A80
triadic
#C42ACA #CAC42A #2ACAC4
tetradic
#C42ACA #CA742A #30CA2A #2A80CA
square
#C42ACA #CA742A #30CA2A #2A80CA
split-complementary
#C42ACA #80CA2A #2ACA74
monochromatic
#621565 #931F97 #C42ACA #D755DC #E388E6

Accessibility & contrast

On white

4.63
#C42ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C42ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C42ACA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42ACA#FFFFFF#000000##FFFFFF
##C42ACA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#547BC6
Tritanopia (blue-blind)
#C9487B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c42aca;
/* rgb */ color: rgb(196, 42, 202);
/* oklch */ color: oklch(59.4% 0.249 326.4);
Tailwind
colors: {
  custom: {
    50: '#da77db',
    500: '#c42aca',
    950: '#000000',
  },
}
SCSS
$custom: #c42aca;
$custom-light: #da77db;
$custom-dark: #000000;
JSON
{
  "hex": "#c42aca",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 297.75,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.24877,
    "h": 326.4
  },
  "luminance": 0.17656
}

Semantic roles & 50–950 ramp

primary
#C42ACA
secondary
#83D080
accent
#E93F46
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C42ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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