#C342CC#C342CC

#C342CC is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.226 H 325.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C342CC
RGBrgb(195, 66, 204)
HSLhsl(296, 58%, 53%)
HSVhsv(296, 68%, 80%)
CMYKcmyk(4.4%, 67.6%, 0%, 20%)
CIE-LABlab(51.68, 67.86, -46.44)
CIE-LCHlch(51.68, 82.23, 325.61°)
OKLaboklab(61.28% 0.1851 -0.129)
OKLCHoklch(61.28% 0.226 325.1)
XYZxyz(35.3521, 19.8604, 59.0864)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342CC #4BCC42
analogous
#7E42CC #C342CC #CC4290
triadic
#C342CC #CCC342 #42CCC3
tetradic
#C342CC #CC7E42 #4BCC42 #4290CC
square
#C342CC #CC7E42 #4BCC42 #4290CC
split-complementary
#C342CC #90CC42 #42CC7E
monochromatic
#6F1F74 #9D2CA4 #C342CC #D272D9 #E2A2E6

Accessibility & contrast

On white

4.22
#C342CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C342CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342CC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342CC#FFFFFF#000000##000000
##C342CC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2371D0
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#C75882
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c342cc;
/* rgb */ color: rgb(195, 66, 204);
/* oklch */ color: oklch(61.3% 0.226 325.1);
Tailwind
colors: {
  custom: {
    50: '#d981dc',
    500: '#c342cc',
    950: '#000000',
  },
}
SCSS
$custom: #c342cc;
$custom-light: #d981dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c342cc",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 296.087,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.22565,
    "h": 325.1
  },
  "luminance": 0.19858
}

Semantic roles & 50–950 ramp

primary
#C342CC
secondary
#9BD397
accent
#E14751
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C342CC

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

Preview Lab → · Contrast checker → · Palette generator →

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