#C342C2#C342C2

#C342C2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.218 H 328.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C342C2
RGBrgb(195, 66, 194)
HSLhsl(300, 52%, 51%)
HSVhsv(300, 66%, 76%)
CMYKcmyk(0%, 66.2%, 0.5%, 23.5%)
CIE-LABlab(51.15, 66.17, -41.53)
CIE-LCHlch(51.15, 78.12, 327.89°)
OKLaboklab(60.72% 0.1849 -0.1148)
OKLCHoklch(60.72% 0.218 328.2)
XYZxyz(34.1911, 19.3959, 52.9714)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342C2 #42C343
analogous
#8342C3 #C342C2 #C34281
triadic
#C342C2 #C2C342 #42C2C3
tetradic
#C342C2 #C38342 #42C343 #4281C3
square
#C342C2 #C38342 #42C343 #4281C3
split-complementary
#C342C2 #81C342 #42C383
monochromatic
#692169 #983097 #C342C2 #D270D1 #E09FE0

Accessibility & contrast

On white

4.30
#C342C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C342C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342C2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342C2#FFFFFF#000000##000000
##C342C21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#306FC6
Deuteranopia (green-blind)
#6380BF
Tritanopia (blue-blind)
#C9537D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c342c2;
/* rgb */ color: rgb(195, 66, 194);
/* oklch */ color: oklch(60.7% 0.218 328.2);
Tailwind
colors: {
  custom: {
    50: '#d981d5',
    500: '#c342c2',
    950: '#000000',
  },
}
SCSS
$custom: #c342c2;
$custom-light: #d981d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c342c2",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 300.465,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60721,
    "c": 0.21762,
    "h": 328.2
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#C342C2
secondary
#94CD94
accent
#DB4E4D
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C342C2

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

Preview Lab → · Contrast checker → · Palette generator →

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