#C342FF#C342FF

#C342FF is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.5% C 0.269 H 312.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C342FF
RGBrgb(195, 66, 255)
HSLhsl(281, 100%, 63%)
HSVhsv(281, 74%, 100%)
CMYKcmyk(23.5%, 74.1%, 0%, 0%)
CIE-LABlab(54.78, 77.25, -70.23)
CIE-LCHlch(54.78, 104.40, 317.73°)
OKLaboklab(64.48% 0.1809 -0.1987)
OKLCHoklch(64.48% 0.269 312.3)
XYZxyz(42.5006, 22.7197, 96.7349)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C342FF #7EFF42
analogous
#6442FF #C342FF #FF42DD
triadic
#C342FF #FFC342 #42FFC3
tetradic
#C342FF #FF6442 #7EFF42 #42DDFF
square
#C342FF #FF6442 #7EFF42 #42DDFF
split-complementary
#C342FF #DDFF42 #42FF64
monochromatic
#8800C7 #B005FF #C342FF #D67FFF #EABCFF

Accessibility & contrast

On white

3.79
#C342FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C342FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C342FF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C342FF#FFFFFF#000000##000000
##C342FF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#2686FB
Tritanopia (blue-blind)
#BC6E9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c342ff;
/* rgb */ color: rgb(195, 66, 255);
/* oklch */ color: oklch(64.5% 0.269 312.3);
Tailwind
colors: {
  custom: {
    50: '#da83ff',
    500: '#c342ff',
    950: '#000000',
  },
}
SCSS
$custom: #c342ff;
$custom-light: #da83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c342ff",
  "rgb": {
    "r": 195,
    "g": 66,
    "b": 255
  },
  "hsl": {
    "h": 280.952,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64476,
    "c": 0.2687,
    "h": 312.3
  },
  "luminance": 0.22719
}

Semantic roles & 50–950 ramp

primary
#C342FF
secondary
#C2F0AC
accent
#E60049
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #C342FF

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

Preview Lab → · Contrast checker → · Palette generator →

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