#C334AE#C334AE

#C334AE is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.219 H 334.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C334AE
RGBrgb(195, 52, 174)
HSLhsl(309, 58%, 48%)
HSVhsv(309, 73%, 76%)
CMYKcmyk(0%, 73.3%, 10.8%, 23.5%)
CIE-LABlab(48.41, 67.94, -34.18)
CIE-LCHlch(48.41, 76.05, 333.29°)
OKLaboklab(58.42% 0.1979 -0.0935)
OKLCHoklch(58.42% 0.219 334.7)
XYZxyz(31.3740, 17.1168, 41.6877)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334AE #34C349
analogous
#9034C3 #C334AE #C33466
triadic
#C334AE #AEC334 #34AEC3
tetradic
#C334AE #C39034 #34C349 #3466C3
square
#C334AE #C39034 #34C349 #3466C3
split-complementary
#C334AE #66C334 #34C390
monochromatic
#621A58 #932783 #C334AE #D560C3 #E190D5

Accessibility & contrast

On white

4.75
#C334AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C334AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334AE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334AE#FFFFFF#000000##FFFFFF
##C334AE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3365B1
Deuteranopia (green-blind)
#667AAB
Tritanopia (blue-blind)
#CC406E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c334ae;
/* rgb */ color: rgb(195, 52, 174);
/* oklch */ color: oklch(58.4% 0.219 334.7);
Tailwind
colors: {
  custom: {
    50: '#d97ac6',
    500: '#c334ae',
    950: '#000000',
  },
}
SCSS
$custom: #c334ae;
$custom-light: #d97ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#c334ae",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 308.811,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58418,
    "c": 0.21885,
    "h": 334.7
  },
  "luminance": 0.17114
}

Semantic roles & 50–950 ramp

primary
#C334AE
secondary
#87CC91
accent
#E15D47
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C334AE

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

Preview Lab → · Contrast checker → · Palette generator →

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