#C342BB#C342BB

#C342BB is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.3% C 0.212 H 330.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C342BB
RGBrgb(195, 66, 187)
HSLhsl(304, 52%, 51%)
HSVhsv(304, 66%, 76%)
CMYKcmyk(0%, 66.2%, 4.1%, 23.5%)
CIE-LABlab(50.79, 65.03, -38.03)
CIE-LCHlch(50.79, 75.33, 329.68°)
OKLaboklab(60.35% 0.1845 -0.1047)
OKLCHoklch(60.35% 0.212 330.4)
XYZxyz(33.4234, 19.0889, 48.9282)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342BB #42C34A
analogous
#8A42C3 #C342BB #C3427A
triadic
#C342BB #BBC342 #42BBC3
tetradic
#C342BB #C38A42 #42C34A #427AC3
square
#C342BB #C38A42 #42C34A #427AC3
split-complementary
#C342BB #7AC342 #42C38A
monochromatic
#692165 #983091 #C342BB #D270CC #E09FDC

Accessibility & contrast

On white

4.36
#C342BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#C342BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342BB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342BB#FFFFFF#000000##000000
##C342BB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#CA5179
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c342bb;
/* rgb */ color: rgb(195, 66, 187);
/* oklch */ color: oklch(60.3% 0.212 330.4);
Tailwind
colors: {
  custom: {
    50: '#d980d0',
    500: '#c342bb',
    950: '#000000',
  },
}
SCSS
$custom: #c342bb;
$custom-light: #d980d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c342bb",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 303.721,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60348,
    "c": 0.21212,
    "h": 330.4
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C342BB

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

Preview Lab → · Contrast checker → · Palette generator →

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