#C342CB#C342CB

#C342CB is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.225 H 325.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C342CB
RGBrgb(195, 66, 203)
HSLhsl(296, 57%, 53%)
HSVhsv(296, 67%, 80%)
CMYKcmyk(3.9%, 67.5%, 0%, 20.4%)
CIE-LABlab(51.62, 67.69, -45.96)
CIE-LCHlch(51.62, 81.82, 325.83°)
OKLaboklab(61.22% 0.1851 -0.1276)
OKLCHoklch(61.22% 0.225 325.4)
XYZxyz(35.2326, 19.8126, 58.4568)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342CB #4ACB42
analogous
#7E42CB #C342CB #CB428F
triadic
#C342CB #CBC342 #42CBC3
tetradic
#C342CB #CB7E42 #4ACB42 #428FCB
square
#C342CB #CB7E42 #4ACB42 #428FCB
split-complementary
#C342CB #8FCB42 #42CB7E
monochromatic
#6E2073 #9C2DA3 #C342CB #D272D8 #E1A2E5

Accessibility & contrast

On white

4.23
#C342CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C342CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342CB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342CB#FFFFFF#000000##000000
##C342CB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#C75782
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c342cb;
/* rgb */ color: rgb(195, 66, 203);
/* oklch */ color: oklch(61.2% 0.225 325.4);
Tailwind
colors: {
  custom: {
    50: '#d981db',
    500: '#c342cb',
    950: '#000000',
  },
}
SCSS
$custom: #c342cb;
$custom-light: #d981db;
$custom-dark: #000000;
JSON
{
  "hex": "#c342cb",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 296.496,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.22484,
    "h": 325.4
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#C342CB
secondary
#9AD297
accent
#E04851
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C342CB

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

Preview Lab → · Contrast checker → · Palette generator →

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