#C342AF#C342AF

#C342AF is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.203 H 334.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C342AF
RGBrgb(195, 66, 175)
HSLhsl(309, 52%, 51%)
HSVhsv(309, 66%, 76%)
CMYKcmyk(0%, 66.2%, 10.3%, 23.5%)
CIE-LABlab(50.21, 63.14, -31.94)
CIE-LCHlch(50.21, 70.75, 333.16°)
OKLaboklab(59.74% 0.1834 -0.0872)
OKLCHoklch(59.74% 0.203 334.6)
XYZxyz(32.1920, 18.5963, 42.4431)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342AF #42C356
analogous
#9642C3 #C342AF #C3426E
triadic
#C342AF #AFC342 #42AFC3
tetradic
#C342AF #C39642 #42C356 #426EC3
square
#C342AF #C39642 #42C356 #426EC3
split-complementary
#C342AF #6EC342 #42C396
monochromatic
#69215E #983088 #C342AF #D270C3 #E09FD6

Accessibility & contrast

On white

4.45
#C342AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C342AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342AF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342AF#FFFFFF#000000##000000
##C342AF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#6C7EAC
Tritanopia (blue-blind)
#CC4B73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c342af;
/* rgb */ color: rgb(195, 66, 175);
/* oklch */ color: oklch(59.7% 0.203 334.6);
Tailwind
colors: {
  custom: {
    50: '#d980c7',
    500: '#c342af',
    950: '#000000',
  },
}
SCSS
$custom: #c342af;
$custom-light: #d980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c342af",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 309.302,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59739,
    "c": 0.20305,
    "h": 334.6
  },
  "luminance": 0.18594
}

Semantic roles & 50–950 ramp

primary
#C342AF
secondary
#94CD9D
accent
#DB634D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C342AF

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

Preview Lab → · Contrast checker → · Palette generator →

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