#C42FCA#C42FCA

#C42FCA is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.7% C 0.244 H 326.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C42FCA
RGBrgb(196, 47, 202)
HSLhsl(298, 62%, 49%)
HSVhsv(298, 77%, 79%)
CMYKcmyk(3%, 76.7%, 0%, 20.8%)
CIE-LABlab(49.54, 73.97, -48.69)
CIE-LCHlch(49.54, 88.56, 326.64°)
OKLaboklab(59.74% 0.2036 -0.1354)
OKLCHoklch(59.74% 0.245 326.4)
XYZxyz(34.4415, 18.0355, 57.5328)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42FCA #35CA2F
analogous
#772FCA #C42FCA #CA2F83
triadic
#C42FCA #CAC42F #2FCAC4
tetradic
#C42FCA #CA772F #35CA2F #2F83CA
square
#C42FCA #CA772F #35CA2F #2F83CA
split-complementary
#C42FCA #83CA2F #2FCA77
monochromatic
#641867 #942398 #C42FCA #D45DD9 #E18FE5

Accessibility & contrast

On white

4.56
#C42FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C42FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C42FCA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42FCA#FFFFFF#000000##000000
##C42FCA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#C94B7C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c42fca;
/* rgb */ color: rgb(196, 47, 202);
/* oklch */ color: oklch(59.7% 0.244 326.4);
Tailwind
colors: {
  custom: {
    50: '#da79db',
    500: '#c42fca',
    950: '#000000',
  },
}
SCSS
$custom: #c42fca;
$custom-light: #da79db;
$custom-dark: #000000;
JSON
{
  "hex": "#c42fca",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 297.677,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5974,
    "c": 0.2445,
    "h": 326.4
  },
  "luminance": 0.18033
}

Semantic roles & 50–950 ramp

primary
#C42FCA
secondary
#88CF86
accent
#E54249
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C42FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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