#C342D3#C342D3

#C342D3 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.231 H 323.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C342D3
RGBrgb(195, 66, 211)
HSLhsl(293, 62%, 54%)
HSVhsv(293, 69%, 83%)
CMYKcmyk(7.6%, 68.7%, 0%, 17.3%)
CIE-LABlab(52.07, 69.08, -49.83)
CIE-LCHlch(52.07, 85.18, 324.19°)
OKLaboklab(61.68% 0.185 -0.1389)
OKLCHoklch(61.68% 0.231 323.1)
XYZxyz(36.2106, 20.2038, 63.6078)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342D3 #52D342
analogous
#7A42D3 #C342D3 #D3429B
triadic
#C342D3 #D3C342 #42D3C3
tetradic
#C342D3 #D37A42 #52D342 #429BD3
square
#C342D3 #D37A42 #52D342 #429BD3
split-complementary
#C342D3 #9BD342 #42D37A
monochromatic
#731D7D #A029AF #C342D3 #D374DF #E3A5EA

Accessibility & contrast

On white

4.17
#C342D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C342D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342D3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342D3#FFFFFF#000000##000000
##C342D31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1473D7
Deuteranopia (green-blind)
#5981CF
Tritanopia (blue-blind)
#C65B86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c342d3;
/* rgb */ color: rgb(195, 66, 211);
/* oklch */ color: oklch(61.7% 0.231 323.1);
Tailwind
colors: {
  custom: {
    50: '#d981e1',
    500: '#c342d3',
    950: '#000000',
  },
}
SCSS
$custom: #c342d3;
$custom-light: #d981e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c342d3",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 293.379,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61679,
    "c": 0.23138,
    "h": 323.1
  },
  "luminance": 0.20202
}

Semantic roles & 50–950 ramp

primary
#C342D3
secondary
#A0D79A
accent
#E54254
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C342D3

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

Preview Lab → · Contrast checker → · Palette generator →

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