#C334B5#C334B5

#C334B5 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.224 H 332.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C334B5
RGBrgb(195, 52, 181)
HSLhsl(306, 58%, 48%)
HSVhsv(306, 73%, 76%)
CMYKcmyk(0%, 73.3%, 7.2%, 23.5%)
CIE-LABlab(48.76, 68.98, -37.74)
CIE-LCHlch(48.76, 78.63, 331.32°)
OKLaboklab(58.78% 0.1983 -0.1037)
OKLCHoklch(58.78% 0.224 332.4)
XYZxyz(32.0743, 17.3969, 45.3758)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334B5 #34C342
analogous
#8934C3 #C334B5 #C3346D
triadic
#C334B5 #B5C334 #34B5C3
tetradic
#C334B5 #C38934 #34C342 #346DC3
square
#C334B5 #C38934 #34C342 #346DC3
split-complementary
#C334B5 #6DC334 #34C389
monochromatic
#621A5B #932788 #C334B5 #D560C9 #E190D9

Accessibility & contrast

On white

4.69
#C334B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C334B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334B5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334B5#FFFFFF#000000##FFFFFF
##C334B51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B67B9
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#CB4472
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c334b5;
/* rgb */ color: rgb(195, 52, 181);
/* oklch */ color: oklch(58.8% 0.224 332.4);
Tailwind
colors: {
  custom: {
    50: '#d97acb',
    500: '#c334b5',
    950: '#000000',
  },
}
SCSS
$custom: #c334b5;
$custom-light: #d97acb;
$custom-dark: #000000;
JSON
{
  "hex": "#c334b5",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 305.874,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.2238,
    "h": 332.4
  },
  "luminance": 0.17394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C334B5

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

Preview Lab → · Contrast checker → · Palette generator →

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