#C331B5#C331B5

#C331B5 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.227 H 332.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C331B5
RGBrgb(195, 49, 181)
HSLhsl(306, 60%, 48%)
HSVhsv(306, 75%, 76%)
CMYKcmyk(0%, 74.9%, 7.2%, 23.5%)
CIE-LABlab(48.43, 69.91, -38.25)
CIE-LCHlch(48.43, 79.69, 331.31°)
OKLaboklab(58.55% 0.201 -0.1052)
OKLCHoklch(58.55% 0.227 332.4)
XYZxyz(31.9446, 17.1376, 45.3325)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331B5 #31C33F
analogous
#8831C3 #C331B5 #C3316C
triadic
#C331B5 #B5C331 #31B5C3
tetradic
#C331B5 #C38831 #31C33F #316CC3
square
#C331B5 #C38831 #31C33F #316CC3
split-complementary
#C331B5 #6CC331 #31C388
monochromatic
#61185A #922588 #C331B5 #D65BCA #E28CDA

Accessibility & contrast

On white

4.74
#C331B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C331B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C331B5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331B5#FFFFFF#000000##FFFFFF
##C331B51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2866B9
Deuteranopia (green-blind)
#627AB2
Tritanopia (blue-blind)
#CB4271
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c331b5;
/* rgb */ color: rgb(195, 49, 181);
/* oklch */ color: oklch(58.6% 0.227 332.4);
Tailwind
colors: {
  custom: {
    50: '#d979cb',
    500: '#c331b5',
    950: '#000000',
  },
}
SCSS
$custom: #c331b5;
$custom-light: #d979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c331b5",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 305.753,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.22686,
    "h": 332.4
  },
  "luminance": 0.17135
}

Semantic roles & 50–950 ramp

primary
#C331B5
secondary
#83CC8A
accent
#E35445
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C331B5

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

Preview Lab → · Contrast checker → · Palette generator →

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