#C342C7#C342C7

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

Color values

HEX#C342C7
RGBrgb(195, 66, 199)
HSLhsl(298, 54%, 52%)
HSVhsv(298, 67%, 78%)
CMYKcmyk(2%, 66.8%, 0%, 22%)
CIE-LABlab(51.41, 67.01, -44.00)
CIE-LCHlch(51.41, 80.16, 326.71°)
OKLaboklab(61% 0.185 -0.1219)
OKLCHoklch(61% 0.222 326.6)
XYZxyz(34.7621, 19.6243, 55.9787)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342C7 #46C742
analogous
#8042C7 #C342C7 #C74289
triadic
#C342C7 #C7C342 #42C7C3
tetradic
#C342C7 #C78042 #46C742 #4289C7
square
#C342C7 #C78042 #46C742 #4289C7
split-complementary
#C342C7 #89C742 #42C780
monochromatic
#6C216E #9A2F9D #C342C7 #D271D5 #E1A0E3

Accessibility & contrast

On white

4.26
#C342C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C342C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342C7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342C7#FFFFFF#000000##000000
##C342C71.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CB
Deuteranopia (green-blind)
#6080C4
Tritanopia (blue-blind)
#C8567F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c342c7;
/* rgb */ color: rgb(195, 66, 199);
/* oklch */ color: oklch(61.0% 0.222 326.6);
Tailwind
colors: {
  custom: {
    50: '#d981d8',
    500: '#c342c7',
    950: '#000000',
  },
}
SCSS
$custom: #c342c7;
$custom-light: #d981d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c342c7",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 298.195,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60995,
    "c": 0.2216,
    "h": 326.6
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#C342C7
secondary
#97D095
accent
#DE4A4F
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C342C7

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

Preview Lab → · Contrast checker → · Palette generator →

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