#C331B6#C331B6

#C331B6 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.228 H 332.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C331B6
RGBrgb(195, 49, 182)
HSLhsl(305, 60%, 48%)
HSVhsv(305, 75%, 76%)
CMYKcmyk(0%, 74.9%, 6.7%, 23.5%)
CIE-LABlab(48.48, 70.06, -38.75)
CIE-LCHlch(48.48, 80.06, 331.05°)
OKLaboklab(58.6% 0.2011 -0.1066)
OKLCHoklch(58.6% 0.228 332.1)
XYZxyz(32.0476, 17.1788, 45.8749)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331B6 #31C33E
analogous
#8731C3 #C331B6 #C3316D
triadic
#C331B6 #B6C331 #31B6C3
tetradic
#C331B6 #C38731 #31C33E #316DC3
square
#C331B6 #C38731 #31C33E #316DC3
split-complementary
#C331B6 #6DC331 #31C387
monochromatic
#61185B #922588 #C331B6 #D65BCB #E28CDB

Accessibility & contrast

On white

4.73
#C331B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C331B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C331B6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331B6#FFFFFF#000000##FFFFFF
##C331B61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666BA
Deuteranopia (green-blind)
#617AB3
Tritanopia (blue-blind)
#CB4271
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c331b6;
/* rgb */ color: rgb(195, 49, 182);
/* oklch */ color: oklch(58.6% 0.228 332.1);
Tailwind
colors: {
  custom: {
    50: '#d979cc',
    500: '#c331b6',
    950: '#000000',
  },
}
SCSS
$custom: #c331b6;
$custom-light: #d979cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c331b6",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 305.342,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58604,
    "c": 0.22758,
    "h": 332.1
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#C331B6
secondary
#83CC8A
accent
#E35345
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C331B6

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

Preview Lab → · Contrast checker → · Palette generator →

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