#C331BB#C331BB

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

Color values

HEX#C331BB
RGBrgb(195, 49, 187)
HSLhsl(303, 60%, 48%)
HSVhsv(303, 75%, 76%)
CMYKcmyk(0%, 74.9%, 4.1%, 23.5%)
CIE-LABlab(48.75, 70.82, -41.26)
CIE-LCHlch(48.75, 81.96, 329.77°)
OKLaboklab(58.88% 0.2012 -0.1139)
OKLCHoklch(58.88% 0.231 330.5)
XYZxyz(32.5735, 17.3892, 48.6449)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331BB #31C339
analogous
#8231C3 #C331BB #C33172
triadic
#C331BB #BBC331 #31BBC3
tetradic
#C331BB #C38231 #31C339 #3172C3
square
#C331BB #C38231 #31C339 #3172C3
split-complementary
#C331BB #72C331 #31C382
monochromatic
#61185D #92258C #C331BB #D65BCF #E28CDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C331BB#FFFFFF#000000##FFFFFF
##C331BB1.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)
#1F67BF
Deuteranopia (green-blind)
#5F7BB7
Tritanopia (blue-blind)
#CB4574
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c331bb;
/* rgb */ color: rgb(195, 49, 187);
/* oklch */ color: oklch(58.9% 0.231 330.5);
Tailwind
colors: {
  custom: {
    50: '#d979d0',
    500: '#c331bb',
    950: '#000000',
  },
}
SCSS
$custom: #c331bb;
$custom-light: #d979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c331bb",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 303.288,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58877,
    "c": 0.23117,
    "h": 330.5
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#C331BB
secondary
#83CC87
accent
#E34D45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C331BB

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

Preview Lab → · Contrast checker → · Palette generator →

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