#C334B3#C334B3

#C334B3 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.7% C 0.222 H 333.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C334B3
RGBrgb(195, 52, 179)
HSLhsl(307, 58%, 48%)
HSVhsv(307, 73%, 76%)
CMYKcmyk(0%, 73.3%, 8.2%, 23.5%)
CIE-LABlab(48.66, 68.68, -36.73)
CIE-LCHlch(48.66, 77.88, 331.86°)
OKLaboklab(58.68% 0.1982 -0.1008)
OKLCHoklch(58.68% 0.222 333)
XYZxyz(31.8705, 17.3154, 44.3028)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334B3 #34C344
analogous
#8B34C3 #C334B3 #C3346B
triadic
#C334B3 #B3C334 #34B3C3
tetradic
#C334B3 #C38B34 #34C344 #346BC3
square
#C334B3 #C38B34 #34C344 #346BC3
split-complementary
#C334B3 #6BC334 #34C38B
monochromatic
#621A5A #932787 #C334B3 #D560C7 #E190D8

Accessibility & contrast

On white

4.71
#C334B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C334B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334B3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334B3#FFFFFF#000000##FFFFFF
##C334B31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B6
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#CC4370
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c334b3;
/* rgb */ color: rgb(195, 52, 179);
/* oklch */ color: oklch(58.7% 0.222 333.0);
Tailwind
colors: {
  custom: {
    50: '#d97aca',
    500: '#c334b3',
    950: '#000000',
  },
}
SCSS
$custom: #c334b3;
$custom-light: #d97aca;
$custom-dark: #000000;
JSON
{
  "hex": "#c334b3",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 306.713,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58677,
    "c": 0.22238,
    "h": 333
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#C334B3
secondary
#87CC8E
accent
#E15847
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C334B3

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

Preview Lab → · Contrast checker → · Palette generator →

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