#C334B1#C334B1

#C334B1 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.221 H 333.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C334B1
RGBrgb(195, 52, 177)
HSLhsl(308, 58%, 48%)
HSVhsv(308, 73%, 76%)
CMYKcmyk(0%, 73.3%, 9.2%, 23.5%)
CIE-LABlab(48.55, 68.38, -35.71)
CIE-LCHlch(48.55, 77.14, 332.42°)
OKLaboklab(58.57% 0.1981 -0.0979)
OKLCHoklch(58.57% 0.221 333.7)
XYZxyz(31.6697, 17.2351, 43.2452)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334B1 #34C346
analogous
#8D34C3 #C334B1 #C3346A
triadic
#C334B1 #B1C334 #34B1C3
tetradic
#C334B1 #C38D34 #34C346 #346AC3
square
#C334B1 #C38D34 #34C346 #346AC3
split-complementary
#C334B1 #6AC334 #34C38D
monochromatic
#621A59 #932785 #C334B1 #D560C6 #E190D7

Accessibility & contrast

On white

4.72
#C334B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C334B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334B1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334B1#FFFFFF#000000##FFFFFF
##C334B11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3066B4
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#CC426F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c334b1;
/* rgb */ color: rgb(195, 52, 177);
/* oklch */ color: oklch(58.6% 0.221 333.7);
Tailwind
colors: {
  custom: {
    50: '#d97ac9',
    500: '#c334b1',
    950: '#000000',
  },
}
SCSS
$custom: #c334b1;
$custom-light: #d97ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#c334b1",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 307.552,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58573,
    "c": 0.22096,
    "h": 333.7
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#C334B1
secondary
#87CC8F
accent
#E15A47
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C334B1

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

Preview Lab → · Contrast checker → · Palette generator →

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