#C342C1#C342C1

#C342C1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.217 H 328.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C342C1
RGBrgb(195, 66, 193)
HSLhsl(301, 52%, 51%)
HSVhsv(301, 66%, 76%)
CMYKcmyk(0%, 66.2%, 1%, 23.5%)
CIE-LABlab(51.10, 66.01, -41.03)
CIE-LCHlch(51.10, 77.72, 328.13°)
OKLaboklab(60.67% 0.1848 -0.1133)
OKLCHoklch(60.67% 0.217 328.5)
XYZxyz(34.0791, 19.3512, 52.3819)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342C1 #42C344
analogous
#8442C3 #C342C1 #C34280
triadic
#C342C1 #C1C342 #42C1C3
tetradic
#C342C1 #C38442 #42C344 #4280C3
square
#C342C1 #C38442 #42C344 #4280C3
split-complementary
#C342C1 #80C342 #42C384
monochromatic
#692168 #983096 #C342C1 #D270D0 #E09FDF

Accessibility & contrast

On white

4.31
#C342C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C342C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342C1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342C1#FFFFFF#000000##000000
##C342C11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#316FC5
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#C9537C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c342c1;
/* rgb */ color: rgb(195, 66, 193);
/* oklch */ color: oklch(60.7% 0.217 328.5);
Tailwind
colors: {
  custom: {
    50: '#d981d4',
    500: '#c342c1',
    950: '#000000',
  },
}
SCSS
$custom: #c342c1;
$custom-light: #d981d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c342c1",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 193
  },
  "hsl": {
    "h": 300.93,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60667,
    "c": 0.21682,
    "h": 328.5
  },
  "luminance": 0.19349
}

Semantic roles & 50–950 ramp

primary
#C342C1
secondary
#94CD95
accent
#DB4F4D
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C342C1

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

Preview Lab → · Contrast checker → · Palette generator →

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