#C342BD#C342BD

#C342BD is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.5% C 0.214 H 329.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C342BD
RGBrgb(195, 66, 189)
HSLhsl(303, 52%, 51%)
HSVhsv(303, 66%, 76%)
CMYKcmyk(0%, 66.2%, 3.1%, 23.5%)
CIE-LABlab(50.89, 65.35, -39.04)
CIE-LCHlch(50.89, 76.12, 329.15°)
OKLaboklab(60.45% 0.1846 -0.1076)
OKLCHoklch(60.45% 0.214 329.8)
XYZxyz(33.6390, 19.1751, 50.0637)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342BD #42C348
analogous
#8842C3 #C342BD #C3427C
triadic
#C342BD #BDC342 #42BDC3
tetradic
#C342BD #C38842 #42C348 #427CC3
square
#C342BD #C38842 #42C348 #427CC3
split-complementary
#C342BD #7CC342 #42C388
monochromatic
#692166 #983093 #C342BD #D270CD #E09FDD

Accessibility & contrast

On white

4.34
#C342BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C342BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342BD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342BD#FFFFFF#000000##000000
##C342BD1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#356EC1
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#CA517A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c342bd;
/* rgb */ color: rgb(195, 66, 189);
/* oklch */ color: oklch(60.5% 0.214 329.8);
Tailwind
colors: {
  custom: {
    50: '#d980d1',
    500: '#c342bd',
    950: '#000000',
  },
}
SCSS
$custom: #c342bd;
$custom-light: #d980d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c342bd",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 302.791,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60453,
    "c": 0.21368,
    "h": 329.8
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#C342BD
secondary
#94CD97
accent
#DB534D
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C342BD

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

Preview Lab → · Contrast checker → · Palette generator →

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