#C342C6#C342C6

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

Color values

HEX#C342C6
RGBrgb(195, 66, 198)
HSLhsl(299, 54%, 52%)
HSVhsv(299, 67%, 78%)
CMYKcmyk(1.5%, 66.7%, 0%, 22.4%)
CIE-LABlab(51.36, 66.84, -43.50)
CIE-LCHlch(51.36, 79.75, 326.94°)
OKLaboklab(60.94% 0.185 -0.1205)
OKLCHoklch(60.94% 0.221 326.9)
XYZxyz(34.6464, 19.5781, 55.3692)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342C6 #45C642
analogous
#8142C6 #C342C6 #C64287
triadic
#C342C6 #C6C342 #42C6C3
tetradic
#C342C6 #C68142 #45C642 #4287C6
square
#C342C6 #C68142 #45C642 #4287C6
split-complementary
#C342C6 #87C642 #42C681
monochromatic
#6B216D #992F9C #C342C6 #D271D4 #E1A0E2

Accessibility & contrast

On white

4.27
#C342C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C342C6#FFFFFF#000000##000000
##C342C61.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C70CA
Deuteranopia (green-blind)
#6180C3
Tritanopia (blue-blind)
#C8557F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c342c6;
/* rgb */ color: rgb(195, 66, 198);
/* oklch */ color: oklch(60.9% 0.221 326.9);
Tailwind
colors: {
  custom: {
    50: '#d981d8',
    500: '#c342c6',
    950: '#000000',
  },
}
SCSS
$custom: #c342c6;
$custom-light: #d981d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c342c6",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 298.636,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60939,
    "c": 0.2208,
    "h": 326.9
  },
  "luminance": 0.19576
}

Semantic roles & 50–950 ramp

primary
#C342C6
secondary
#96CF95
accent
#DD4B4E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C342C6

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

Preview Lab → · Contrast checker → · Palette generator →

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