#C342D2#C342D2

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

Color values

HEX#C342D2
RGBrgb(195, 66, 210)
HSLhsl(294, 62%, 54%)
HSVhsv(294, 69%, 82%)
CMYKcmyk(7.1%, 68.6%, 0%, 17.6%)
CIE-LABlab(52.01, 68.90, -49.35)
CIE-LCHlch(52.01, 84.75, 324.39°)
OKLaboklab(61.62% 0.1851 -0.1375)
OKLCHoklch(61.62% 0.231 323.4)
XYZxyz(36.0857, 20.1538, 62.9496)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342D2 #51D242
analogous
#7B42D2 #C342D2 #D24299
triadic
#C342D2 #D2C342 #42D2C3
tetradic
#C342D2 #D27B42 #51D242 #4299D2
square
#C342D2 #D27B42 #51D242 #4299D2
split-complementary
#C342D2 #99D242 #42D27B
monochromatic
#721E7C #A029AD #C342D2 #D373DE #E2A5EA

Accessibility & contrast

On white

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

On black

5.03
#C342D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342D2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342D2#FFFFFF#000000##000000
##C342D21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1772D6
Deuteranopia (green-blind)
#5981CE
Tritanopia (blue-blind)
#C65A85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c342d2;
/* rgb */ color: rgb(195, 66, 210);
/* oklch */ color: oklch(61.6% 0.231 323.4);
Tailwind
colors: {
  custom: {
    50: '#d981e0',
    500: '#c342d2',
    950: '#000000',
  },
}
SCSS
$custom: #c342d2;
$custom-light: #d981e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c342d2",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 293.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61621,
    "c": 0.23056,
    "h": 323.4
  },
  "luminance": 0.20152
}

Semantic roles & 50–950 ramp

primary
#C342D2
secondary
#A0D799
accent
#E54354
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C342D2

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

Preview Lab → · Contrast checker → · Palette generator →

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