#C342B0#C342B0

#C342B0 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.204 H 334.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C342B0
RGBrgb(195, 66, 176)
HSLhsl(309, 52%, 51%)
HSVhsv(309, 66%, 76%)
CMYKcmyk(0%, 66.2%, 9.7%, 23.5%)
CIE-LABlab(50.26, 63.29, -32.45)
CIE-LCHlch(50.26, 71.12, 332.85°)
OKLaboklab(59.79% 0.1835 -0.0886)
OKLCHoklch(59.79% 0.204 334.2)
XYZxyz(32.2906, 18.6358, 42.9623)
Luminance0.1863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342B0 #42C355
analogous
#9542C3 #C342B0 #C3426F
triadic
#C342B0 #B0C342 #42B0C3
tetradic
#C342B0 #C39542 #42C355 #426FC3
square
#C342B0 #C39542 #42C355 #426FC3
split-complementary
#C342B0 #6FC342 #42C395
monochromatic
#69215F #983088 #C342B0 #D270C3 #E09FD7

Accessibility & contrast

On white

4.44
#C342B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C342B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342B0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342B0#FFFFFF#000000##000000
##C342B01.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB3
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#CC4C73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c342b0;
/* rgb */ color: rgb(195, 66, 176);
/* oklch */ color: oklch(59.8% 0.204 334.2);
Tailwind
colors: {
  custom: {
    50: '#d980c8',
    500: '#c342b0',
    950: '#000000',
  },
}
SCSS
$custom: #c342b0;
$custom-light: #d980c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c342b0",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 308.837,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59788,
    "c": 0.20379,
    "h": 334.2
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#C342B0
secondary
#94CD9C
accent
#DB624D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C342B0

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

Preview Lab → · Contrast checker → · Palette generator →

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