#C342E1#C342E1

#C342E1 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.5% C 0.243 H 319.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C342E1
RGBrgb(195, 66, 225)
HSLhsl(289, 73%, 57%)
HSVhsv(289, 71%, 88%)
CMYKcmyk(13.3%, 70.7%, 0%, 11.8%)
CIE-LABlab(52.88, 71.58, -56.49)
CIE-LCHlch(52.88, 91.19, 321.72°)
OKLaboklab(62.52% 0.1844 -0.1584)
OKLCHoklch(62.52% 0.243 319.3)
XYZxyz(38.0427, 20.9366, 73.2569)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342E1 #60E142
analogous
#7342E1 #C342E1 #E142B0
triadic
#C342E1 #E1C342 #42E1C3
tetradic
#C342E1 #E17342 #60E142 #42B0E1
square
#C342E1 #E17342 #60E142 #42B0E1
split-complementary
#C342E1 #B0E142 #42E173
monochromatic
#7A1792 #A71FC6 #C342E1 #D477E9 #E5ACF2

Accessibility & contrast

On white

4.05
#C342E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#C342E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342E1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342E1#FFFFFF#000000##000000
##C342E11.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#4E83DD
Tritanopia (blue-blind)
#C3618E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c342e1;
/* rgb */ color: rgb(195, 66, 225);
/* oklch */ color: oklch(62.5% 0.243 319.3);
Tailwind
colors: {
  custom: {
    50: '#d982eb',
    500: '#c342e1',
    950: '#000000',
  },
}
SCSS
$custom: #c342e1;
$custom-light: #d982eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c342e1",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 288.679,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62522,
    "c": 0.24308,
    "h": 319.3
  },
  "luminance": 0.20935
}

Semantic roles & 50–950 ramp

primary
#C342E1
secondary
#ABE09F
accent
#EF385B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C342E1

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

Preview Lab → · Contrast checker → · Palette generator →

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