#C334BD#C334BD

#C334BD is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.230 H 329.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C334BD
RGBrgb(195, 52, 189)
HSLhsl(303, 58%, 48%)
HSVhsv(303, 73%, 76%)
CMYKcmyk(0%, 73.3%, 3.1%, 23.5%)
CIE-LABlab(49.17, 70.22, -41.75)
CIE-LCHlch(49.17, 81.69, 329.26°)
OKLaboklab(59.22% 0.1986 -0.1153)
OKLCHoklch(59.22% 0.23 329.9)
XYZxyz(32.9188, 17.7348, 49.8236)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334BD #34C33A
analogous
#8134C3 #C334BD #C33476
triadic
#C334BD #BDC334 #34BDC3
tetradic
#C334BD #C38134 #34C33A #3476C3
square
#C334BD #C38134 #34C33A #3476C3
split-complementary
#C334BD #76C334 #34C381
monochromatic
#621A5F #93278E #C334BD #D560D0 #E190DE

Accessibility & contrast

On white

4.62
#C334BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C334BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C334BD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334BD#FFFFFF#000000##FFFFFF
##C334BD1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C1
Deuteranopia (green-blind)
#5F7CB9
Tritanopia (blue-blind)
#CA4876
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c334bd;
/* rgb */ color: rgb(195, 52, 189);
/* oklch */ color: oklch(59.2% 0.230 329.9);
Tailwind
colors: {
  custom: {
    50: '#d97ad1',
    500: '#c334bd',
    950: '#000000',
  },
}
SCSS
$custom: #c334bd;
$custom-light: #d97ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#c334bd",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 302.517,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.22963,
    "h": 329.9
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#C334BD
secondary
#87CC8A
accent
#E14D47
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C334BD

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

Preview Lab → · Contrast checker → · Palette generator →

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