#C342BF#C342BF

#C342BF is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.215 H 329.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C342BF
RGBrgb(195, 66, 191)
HSLhsl(302, 52%, 51%)
HSVhsv(302, 66%, 76%)
CMYKcmyk(0%, 66.2%, 2.1%, 23.5%)
CIE-LABlab(50.99, 65.68, -40.03)
CIE-LCHlch(50.99, 76.92, 328.63°)
OKLaboklab(60.56% 0.1847 -0.1104)
OKLCHoklch(60.56% 0.215 329.1)
XYZxyz(33.8576, 19.2625, 51.2149)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342BF #42C346
analogous
#8642C3 #C342BF #C3427E
triadic
#C342BF #BFC342 #42BFC3
tetradic
#C342BF #C38642 #42C346 #427EC3
square
#C342BF #C38642 #42C346 #427EC3
split-complementary
#C342BF #7EC342 #42C386
monochromatic
#692167 #983094 #C342BF #D270CF #E09FDE

Accessibility & contrast

On white

4.33
#C342BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C342BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342BF#FFFFFF#000000##000000
##C342BF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#CA527B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c342bf;
/* rgb */ color: rgb(195, 66, 191);
/* oklch */ color: oklch(60.6% 0.215 329.1);
Tailwind
colors: {
  custom: {
    50: '#d980d3',
    500: '#c342bf',
    950: '#000000',
  },
}
SCSS
$custom: #c342bf;
$custom-light: #d980d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c342bf",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 301.86,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.21524,
    "h": 329.1
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#C342BF
secondary
#94CD96
accent
#DB514D
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C342BF

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

Preview Lab → · Contrast checker → · Palette generator →

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