#C334B7#C334B7

#C334B7 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.9% C 0.225 H 331.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C334B7
RGBrgb(195, 52, 183)
HSLhsl(305, 58%, 48%)
HSVhsv(305, 73%, 76%)
CMYKcmyk(0%, 73.3%, 6.2%, 23.5%)
CIE-LABlab(48.86, 69.29, -38.75)
CIE-LCHlch(48.86, 79.39, 330.78°)
OKLaboklab(58.89% 0.1984 -0.1066)
OKLCHoklch(58.89% 0.225 331.7)
XYZxyz(32.2809, 17.4796, 46.4643)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334B7 #34C340
analogous
#8734C3 #C334B7 #C3346F
triadic
#C334B7 #B7C334 #34B7C3
tetradic
#C334B7 #C38734 #34C340 #346FC3
square
#C334B7 #C38734 #34C340 #346FC3
split-complementary
#C334B7 #6FC334 #34C387
monochromatic
#621A5C #93278A #C334B7 #D560CB #E190DB

Accessibility & contrast

On white

4.67
#C334B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C334B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C334B7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334B7#FFFFFF#000000##FFFFFF
##C334B71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2967BB
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#CB4573
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c334b7;
/* rgb */ color: rgb(195, 52, 183);
/* oklch */ color: oklch(58.9% 0.225 331.7);
Tailwind
colors: {
  custom: {
    50: '#d97acd',
    500: '#c334b7',
    950: '#000000',
  },
}
SCSS
$custom: #c334b7;
$custom-light: #d97acd;
$custom-dark: #000000;
JSON
{
  "hex": "#c334b7",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 305.035,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5889,
    "c": 0.22525,
    "h": 331.7
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#C334B7
secondary
#87CC8D
accent
#E15447
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C334B7

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

Preview Lab → · Contrast checker → · Palette generator →

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