#C334B0#C334B0

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

Color values

HEX#C334B0
RGBrgb(195, 52, 176)
HSLhsl(308, 58%, 48%)
HSVhsv(308, 73%, 76%)
CMYKcmyk(0%, 73.3%, 9.7%, 23.5%)
CIE-LABlab(48.51, 68.23, -35.20)
CIE-LCHlch(48.51, 76.78, 332.71°)
OKLaboklab(58.52% 0.198 -0.0964)
OKLCHoklch(58.52% 0.22 334)
XYZxyz(31.5704, 17.1954, 42.7222)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334B0 #34C347
analogous
#8E34C3 #C334B0 #C33468
triadic
#C334B0 #B0C334 #34B0C3
tetradic
#C334B0 #C38E34 #34C347 #3468C3
square
#C334B0 #C38E34 #34C347 #3468C3
split-complementary
#C334B0 #68C334 #34C38E
monochromatic
#621A59 #932784 #C334B0 #D560C5 #E190D7

Accessibility & contrast

On white

4.73
#C334B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C334B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334B0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334B0#FFFFFF#000000##FFFFFF
##C334B01.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B3
Deuteranopia (green-blind)
#657BAD
Tritanopia (blue-blind)
#CC416F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c334b0;
/* rgb */ color: rgb(195, 52, 176);
/* oklch */ color: oklch(58.5% 0.220 334.0);
Tailwind
colors: {
  custom: {
    50: '#d97ac8',
    500: '#c334b0',
    950: '#000000',
  },
}
SCSS
$custom: #c334b0;
$custom-light: #d97ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#c334b0",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 307.972,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.22025,
    "h": 334
  },
  "luminance": 0.17193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C334B0

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

Preview Lab → · Contrast checker → · Palette generator →

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