#C334B2#C334B2

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

Color values

HEX#C334B2
RGBrgb(195, 52, 178)
HSLhsl(307, 58%, 48%)
HSVhsv(307, 73%, 76%)
CMYKcmyk(0%, 73.3%, 8.7%, 23.5%)
CIE-LABlab(48.60, 68.53, -36.22)
CIE-LCHlch(48.60, 77.51, 332.14°)
OKLaboklab(58.63% 0.1982 -0.0993)
OKLCHoklch(58.63% 0.222 333.4)
XYZxyz(31.7698, 17.2751, 43.7721)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334B2 #34C345
analogous
#8C34C3 #C334B2 #C3346A
triadic
#C334B2 #B2C334 #34B2C3
tetradic
#C334B2 #C38C34 #34C345 #346AC3
square
#C334B2 #C38C34 #34C345 #346AC3
split-complementary
#C334B2 #6AC334 #34C38C
monochromatic
#621A5A #932786 #C334B2 #D560C7 #E190D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C334B2#FFFFFF#000000##FFFFFF
##C334B21.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#CC4270
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c334b2;
/* rgb */ color: rgb(195, 52, 178);
/* oklch */ color: oklch(58.6% 0.222 333.4);
Tailwind
colors: {
  custom: {
    50: '#d97ac9',
    500: '#c334b2',
    950: '#000000',
  },
}
SCSS
$custom: #c334b2;
$custom-light: #d97ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#c334b2",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 307.133,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.22167,
    "h": 333.4
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C334B2

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

Preview Lab → · Contrast checker → · Palette generator →

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