#C334AF#C334AF

#C334AF is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.220 H 334.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C334AF
RGBrgb(195, 52, 175)
HSLhsl(308, 58%, 48%)
HSVhsv(308, 73%, 76%)
CMYKcmyk(0%, 73.3%, 10.3%, 23.5%)
CIE-LABlab(48.46, 68.08, -34.69)
CIE-LCHlch(48.46, 76.41, 333.00°)
OKLaboklab(58.47% 0.198 -0.0949)
OKLCHoklch(58.47% 0.22 334.4)
XYZxyz(31.4718, 17.1560, 42.2030)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334AF #34C348
analogous
#8F34C3 #C334AF #C33467
triadic
#C334AF #AFC334 #34AFC3
tetradic
#C334AF #C38F34 #34C348 #3467C3
square
#C334AF #C38F34 #34C348 #3467C3
split-complementary
#C334AF #67C334 #34C38F
monochromatic
#621A58 #932784 #C334AF #D560C4 #E190D6

Accessibility & contrast

On white

4.74
#C334AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C334AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334AF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334AF#FFFFFF#000000##FFFFFF
##C334AF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#667AAC
Tritanopia (blue-blind)
#CC416E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c334af;
/* rgb */ color: rgb(195, 52, 175);
/* oklch */ color: oklch(58.5% 0.220 334.4);
Tailwind
colors: {
  custom: {
    50: '#d97ac7',
    500: '#c334af',
    950: '#000000',
  },
}
SCSS
$custom: #c334af;
$custom-light: #d97ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#c334af",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 308.392,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58469,
    "c": 0.21955,
    "h": 334.4
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

primary
#C334AF
secondary
#87CC90
accent
#E15C47
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C334AF

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

Preview Lab → · Contrast checker → · Palette generator →

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