#C331BD#C331BD

#C331BD is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.233 H 329.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C331BD
RGBrgb(195, 49, 189)
HSLhsl(302, 60%, 48%)
HSVhsv(302, 75%, 76%)
CMYKcmyk(0%, 74.9%, 3.1%, 23.5%)
CIE-LABlab(48.85, 71.13, -42.26)
CIE-LCHlch(48.85, 82.74, 329.29°)
OKLaboklab(58.99% 0.2012 -0.1168)
OKLCHoklch(58.99% 0.233 329.9)
XYZxyz(32.7891, 17.4754, 49.7804)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331BD #31C337
analogous
#8031C3 #C331BD #C33174
triadic
#C331BD #BDC331 #31BDC3
tetradic
#C331BD #C38031 #31C337 #3174C3
square
#C331BD #C38031 #31C337 #3174C3
split-complementary
#C331BD #74C331 #31C380
monochromatic
#61185E #92258E #C331BD #D65BD1 #E28CDF

Accessibility & contrast

On white

4.67
#C331BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C331BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C331BD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331BD#FFFFFF#000000##FFFFFF
##C331BD1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C1
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#CA4675
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c331bd;
/* rgb */ color: rgb(195, 49, 189);
/* oklch */ color: oklch(59.0% 0.233 329.9);
Tailwind
colors: {
  custom: {
    50: '#d979d1',
    500: '#c331bd',
    950: '#000000',
  },
}
SCSS
$custom: #c331bd;
$custom-light: #d979d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c331bd",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 302.466,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58988,
    "c": 0.23262,
    "h": 329.9
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#C331BD
secondary
#83CC86
accent
#E34B45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C331BD

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

Preview Lab → · Contrast checker → · Palette generator →

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