#C342D9#C342D9

#C342D9 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.0% C 0.236 H 321.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C342D9
RGBrgb(195, 66, 217)
HSLhsl(291, 67%, 55%)
HSVhsv(291, 70%, 85%)
CMYKcmyk(10.1%, 69.6%, 0%, 14.9%)
CIE-LABlab(52.41, 70.14, -52.71)
CIE-LCHlch(52.41, 87.74, 323.08°)
OKLaboklab(62.03% 0.1848 -0.1473)
OKLCHoklch(62.03% 0.236 321.4)
XYZxyz(36.9769, 20.5103, 67.6434)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342D9 #58D942
analogous
#7742D9 #C342D9 #D942A4
triadic
#C342D9 #D9C342 #42D9C3
tetradic
#C342D9 #D97742 #58D942 #42A4D9
square
#C342D9 #D97742 #58D942 #42A4D9
split-complementary
#C342D9 #A4D942 #42D977
monochromatic
#761B86 #A325B9 #C342D9 #D375E3 #E3A8ED

Accessibility & contrast

On white

4.12
#C342D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C342D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342D9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342D9#FFFFFF#000000##000000
##C342D91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#5482D5
Tritanopia (blue-blind)
#C55D89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c342d9;
/* rgb */ color: rgb(195, 66, 217);
/* oklch */ color: oklch(62.0% 0.236 321.4);
Tailwind
colors: {
  custom: {
    50: '#d981e5',
    500: '#c342d9',
    950: '#000000',
  },
}
SCSS
$custom: #c342d9;
$custom-light: #d981e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c342d9",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 291.258,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62034,
    "c": 0.23637,
    "h": 321.4
  },
  "luminance": 0.20508
}

Semantic roles & 50–950 ramp

primary
#C342D9
secondary
#A5DB9C
accent
#E93E57
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C342D9

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

Preview Lab → · Contrast checker → · Palette generator →

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