#C342BC#C342BC

#C342BC is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.213 H 330.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C342BC
RGBrgb(195, 66, 188)
HSLhsl(303, 52%, 51%)
HSVhsv(303, 66%, 76%)
CMYKcmyk(0%, 66.2%, 3.6%, 23.5%)
CIE-LABlab(50.84, 65.19, -38.53)
CIE-LCHlch(50.84, 75.73, 329.41°)
OKLaboklab(60.4% 0.1846 -0.1061)
OKLCHoklch(60.4% 0.213 330.1)
XYZxyz(33.5308, 19.1318, 49.4940)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342BC #42C349
analogous
#8942C3 #C342BC #C3427B
triadic
#C342BC #BCC342 #42BCC3
tetradic
#C342BC #C38942 #42C349 #427BC3
square
#C342BC #C38942 #42C349 #427BC3
split-complementary
#C342BC #7BC342 #42C389
monochromatic
#692165 #983092 #C342BC #D270CC #E09FDD

Accessibility & contrast

On white

4.35
#C342BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C342BC#FFFFFF#000000##000000
##C342BC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#366EC0
Deuteranopia (green-blind)
#667FB9
Tritanopia (blue-blind)
#CA517A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c342bc;
/* rgb */ color: rgb(195, 66, 188);
/* oklch */ color: oklch(60.4% 0.213 330.1);
Tailwind
colors: {
  custom: {
    50: '#d980d0',
    500: '#c342bc',
    950: '#000000',
  },
}
SCSS
$custom: #c342bc;
$custom-light: #d980d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c342bc",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 303.256,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.604,
    "c": 0.2129,
    "h": 330.1
  },
  "luminance": 0.19129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C342BC

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

Preview Lab → · Contrast checker → · Palette generator →

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