#C342D5#C342D5

#C342D5 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.8% C 0.233 H 322.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C342D5
RGBrgb(195, 66, 213)
HSLhsl(293, 64%, 55%)
HSVhsv(293, 69%, 84%)
CMYKcmyk(8.5%, 69%, 0%, 16.5%)
CIE-LABlab(52.18, 69.43, -50.80)
CIE-LCHlch(52.18, 86.03, 323.81°)
OKLaboklab(61.8% 0.185 -0.1417)
OKLCHoklch(61.8% 0.233 322.5)
XYZxyz(36.4629, 20.3047, 64.9365)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342D5 #54D542
analogous
#7A42D5 #C342D5 #D5429E
triadic
#C342D5 #D5C342 #42D5C3
tetradic
#C342D5 #D57A42 #54D542 #429ED5
square
#C342D5 #D57A42 #54D542 #429ED5
split-complementary
#C342D5 #9ED542 #42D57A
monochromatic
#741C80 #A128B2 #C342D5 #D374E0 #E3A6EB

Accessibility & contrast

On white

4.15
#C342D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C342D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342D5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342D5#FFFFFF#000000##000000
##C342D51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D73D9
Deuteranopia (green-blind)
#5781D1
Tritanopia (blue-blind)
#C65C87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c342d5;
/* rgb */ color: rgb(195, 66, 213);
/* oklch */ color: oklch(61.8% 0.233 322.5);
Tailwind
colors: {
  custom: {
    50: '#d981e2',
    500: '#c342d5',
    950: '#000000',
  },
}
SCSS
$custom: #c342d5;
$custom-light: #d981e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c342d5",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 292.653,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.23304,
    "h": 322.5
  },
  "luminance": 0.20303
}

Semantic roles & 50–950 ramp

primary
#C342D5
secondary
#A2D89A
accent
#E74155
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C342D5

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

Preview Lab → · Contrast checker → · Palette generator →

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