#C342D1#C342D1

#C342D1 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.6% C 0.230 H 323.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C342D1
RGBrgb(195, 66, 209)
HSLhsl(294, 61%, 54%)
HSVhsv(294, 68%, 82%)
CMYKcmyk(6.7%, 68.4%, 0%, 18%)
CIE-LABlab(51.95, 68.73, -48.87)
CIE-LCHlch(51.95, 84.33, 324.58°)
OKLaboklab(61.56% 0.1851 -0.1361)
OKLCHoklch(61.56% 0.23 323.7)
XYZxyz(35.9615, 20.1041, 62.2956)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342D1 #50D142
analogous
#7C42D1 #C342D1 #D14298
triadic
#C342D1 #D1C342 #42D1C3
tetradic
#C342D1 #D17C42 #50D142 #4298D1
square
#C342D1 #D17C42 #50D142 #4298D1
split-complementary
#C342D1 #98D142 #42D17C
monochromatic
#721E7B #9F2AAC #C342D1 #D373DD #E2A4E9

Accessibility & contrast

On white

4.18
#C342D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C342D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342D1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342D1#FFFFFF#000000##000000
##C342D11.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1972D5
Deuteranopia (green-blind)
#5A81CD
Tritanopia (blue-blind)
#C65A85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c342d1;
/* rgb */ color: rgb(195, 66, 209);
/* oklch */ color: oklch(61.6% 0.230 323.7);
Tailwind
colors: {
  custom: {
    50: '#d981e0',
    500: '#c342d1',
    950: '#000000',
  },
}
SCSS
$custom: #c342d1;
$custom-light: #d981e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c342d1",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 294.126,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.22974,
    "h": 323.7
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

primary
#C342D1
secondary
#9FD699
accent
#E44454
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C342D1

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

Preview Lab → · Contrast checker → · Palette generator →

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