#C331B0#C331B0

#C331B0 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.223 H 334.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C331B0
RGBrgb(195, 49, 176)
HSLhsl(308, 60%, 48%)
HSVhsv(308, 75%, 76%)
CMYKcmyk(0%, 74.9%, 9.7%, 23.5%)
CIE-LABlab(48.18, 69.16, -35.71)
CIE-LCHlch(48.18, 77.84, 332.69°)
OKLaboklab(58.29% 0.2008 -0.0979)
OKLCHoklch(58.29% 0.223 334)
XYZxyz(31.4408, 16.9361, 42.6790)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C331B0 #31C344
analogous
#8D31C3 #C331B0 #C33167
triadic
#C331B0 #B0C331 #31B0C3
tetradic
#C331B0 #C38D31 #31C344 #3167C3
square
#C331B0 #C38D31 #31C344 #3167C3
split-complementary
#C331B0 #67C331 #31C38D
monochromatic
#611858 #922584 #C331B0 #D65BC6 #E28CD7

Accessibility & contrast

On white

4.79
#C331B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C331B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C331B0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C331B0#FFFFFF#000000##FFFFFF
##C331B01.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B3
Deuteranopia (green-blind)
#647AAD
Tritanopia (blue-blind)
#CC3F6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c331b0;
/* rgb */ color: rgb(195, 49, 176);
/* oklch */ color: oklch(58.3% 0.223 334.0);
Tailwind
colors: {
  custom: {
    50: '#d978c8',
    500: '#c331b0',
    950: '#000000',
  },
}
SCSS
$custom: #c331b0;
$custom-light: #d978c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c331b0",
  "rgb": {
    "r": 195,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 307.808,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.22335,
    "h": 334
  },
  "luminance": 0.16933
}

Semantic roles & 50–950 ramp

primary
#C331B0
secondary
#83CC8D
accent
#E35945
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C331B0

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

Preview Lab → · Contrast checker → · Palette generator →

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