#C331B9#C331B9

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

Color values

HEX#C331B9
RGBrgb(195, 49, 185)
HSLhsl(304, 60%, 48%)
HSVhsv(304, 75%, 76%)
CMYKcmyk(0%, 74.9%, 5.1%, 23.5%)
CIE-LABlab(48.64, 70.51, -40.26)
CIE-LCHlch(48.64, 81.20, 330.27°)
OKLaboklab(58.77% 0.2011 -0.111)
OKLCHoklch(58.77% 0.23 331.1)
XYZxyz(32.3609, 17.3041, 47.5252)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331B9 #31C33B
analogous
#8431C3 #C331B9 #C33170
triadic
#C331B9 #B9C331 #31B9C3
tetradic
#C331B9 #C38431 #31C33B #3170C3
square
#C331B9 #C38431 #31C33B #3170C3
split-complementary
#C331B9 #70C331 #31C384
monochromatic
#61185C #92258B #C331B9 #D65BCD #E28CDC

Accessibility & contrast

On white

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

On black

4.46
#C331B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C331B9#FFFFFF#000000##FFFFFF
##C331B91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BD
Deuteranopia (green-blind)
#607BB5
Tritanopia (blue-blind)
#CB4473
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c331b9;
/* rgb */ color: rgb(195, 49, 185);
/* oklch */ color: oklch(58.8% 0.230 331.1);
Tailwind
colors: {
  custom: {
    50: '#d979ce',
    500: '#c331b9',
    950: '#000000',
  },
}
SCSS
$custom: #c331b9;
$custom-light: #d979ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c331b9",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 304.11,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58767,
    "c": 0.22972,
    "h": 331.1
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#C331B9
secondary
#83CC88
accent
#E35045
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C331B9

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

Preview Lab → · Contrast checker → · Palette generator →

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