#C334C1#C334C1

#C334C1 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.233 H 328.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#C334C1
RGBrgb(195, 52, 193)
HSLhsl(301, 58%, 48%)
HSVhsv(301, 73%, 76%)
CMYKcmyk(0%, 73.3%, 1%, 23.5%)
CIE-LABlab(49.39, 70.85, -43.74)
CIE-LCHlch(49.39, 83.26, 328.31°)
OKLaboklab(59.44% 0.1986 -0.1211)
OKLCHoklch(59.44% 0.233 328.6)
XYZxyz(33.3590, 17.9108, 52.1419)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334C1 #34C336
analogous
#7D34C3 #C334C1 #C33479
triadic
#C334C1 #C1C334 #34C1C3
tetradic
#C334C1 #C37D34 #34C336 #3479C3
square
#C334C1 #C37D34 #34C336 #3479C3
split-complementary
#C334C1 #79C334 #34C37D
monochromatic
#621A61 #932791 #C334C1 #D560D3 #E190E0

Accessibility & contrast

On white

4.58
#C334C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C334C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C334C1
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334C1#FFFFFF#000000##000000
##C334C11.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1969C5
Deuteranopia (green-blind)
#5D7CBD
Tritanopia (blue-blind)
#C94A78
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c334c1;
/* rgb */ color: rgb(195, 52, 193);
/* oklch */ color: oklch(59.4% 0.233 328.6);
Tailwind
colors: {
  custom: {
    50: '#d97ad4',
    500: '#c334c1',
    950: '#000000',
  },
}
SCSS
$custom: #c334c1;
$custom-light: #d97ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#c334c1",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 300.839,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5944,
    "c": 0.23259,
    "h": 328.6
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#C334C1
secondary
#87CC88
accent
#E14947
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C334C1

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

Preview Lab → · Contrast checker → · Palette generator →

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