#C042CE#C042CE

#C042CE is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.226 H 323.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C042CE
RGBrgb(192, 66, 206)
HSLhsl(294, 59%, 53%)
HSVhsv(294, 68%, 81%)
CMYKcmyk(6.8%, 68%, 0%, 19.2%)
CIE-LABlab(51.34, 67.54, -48.16)
CIE-LCHlch(51.34, 82.95, 324.51°)
OKLaboklab(60.98% 0.1818 -0.1341)
OKLCHoklch(60.98% 0.226 323.6)
XYZxyz(34.8260, 19.5612, 60.3219)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C042CE #50CE42
analogous
#7A42CE #C042CE #CE4296
triadic
#C042CE #CEC042 #42CEC0
tetradic
#C042CE #CE7A42 #50CE42 #4296CE
square
#C042CE #CE7A42 #50CE42 #4296CE
split-complementary
#C042CE #96CE42 #42CE7A
monochromatic
#6E1F77 #9B2BA7 #C042CE #D073DB #E0A3E7

Accessibility & contrast

On white

4.28
#C042CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C042CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C042CE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C042CE#FFFFFF#000000##000000
##C042CE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B71D2
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#C35983
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c042ce;
/* rgb */ color: rgb(192, 66, 206);
/* oklch */ color: oklch(61.0% 0.226 323.6);
Tailwind
colors: {
  custom: {
    50: '#d781dd',
    500: '#c042ce',
    950: '#000000',
  },
}
SCSS
$custom: #c042ce;
$custom-light: #d781dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c042ce",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 294,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60976,
    "c": 0.2259,
    "h": 323.6
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

primary
#C042CE
secondary
#9ED498
accent
#E24655
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C042CE

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

Preview Lab → · Contrast checker → · Palette generator →

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