#C334C2#C334C2

#C334C2 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.233 H 328.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C334C2
RGBrgb(195, 52, 194)
HSLhsl(300, 58%, 48%)
HSVhsv(300, 73%, 76%)
CMYKcmyk(0%, 73.3%, 0.5%, 23.5%)
CIE-LABlab(49.44, 71.01, -44.23)
CIE-LCHlch(49.44, 83.66, 328.08°)
OKLaboklab(59.5% 0.1986 -0.1225)
OKLCHoklch(59.5% 0.233 328.3)
XYZxyz(33.4709, 17.9556, 52.7314)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334C2 #34C335
analogous
#7D34C3 #C334C2 #C3347A
triadic
#C334C2 #C2C334 #34C2C3
tetradic
#C334C2 #C37D34 #34C335 #347AC3
square
#C334C2 #C37D34 #34C335 #347AC3
split-complementary
#C334C2 #7AC334 #34C37D
monochromatic
#621A62 #932792 #C334C2 #D560D4 #E190E1

Accessibility & contrast

On white

4.57
#C334C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C334C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C334C2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334C2#FFFFFF#000000##000000
##C334C21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#176AC6
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#C94A79
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c334c2;
/* rgb */ color: rgb(195, 52, 194);
/* oklch */ color: oklch(59.5% 0.233 328.3);
Tailwind
colors: {
  custom: {
    50: '#d97ad5',
    500: '#c334c2',
    950: '#000000',
  },
}
SCSS
$custom: #c334c2;
$custom-light: #d97ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#c334c2",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 300.42,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.23334,
    "h": 328.3
  },
  "luminance": 0.17953
}

Semantic roles & 50–950 ramp

primary
#C334C2
secondary
#87CC87
accent
#E14847
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C334C2

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

Preview Lab → · Contrast checker → · Palette generator →

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