#C931B2#C931B2

#C931B2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.3% C 0.228 H 335.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C931B2
RGBrgb(201, 49, 178)
HSLhsl(309, 61%, 49%)
HSVhsv(309, 76%, 79%)
CMYKcmyk(0%, 75.6%, 11.4%, 21.2%)
CIE-LABlab(49.29, 70.78, -35.07)
CIE-LCHlch(49.29, 78.99, 333.64°)
OKLaboklab(59.31% 0.2067 -0.0959)
OKLCHoklch(59.31% 0.228 335.1)
XYZxyz(33.2220, 17.8315, 43.8030)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C931B2 #31C948
analogous
#9431C9 #C931B2 #C93166
triadic
#C931B2 #B2C931 #31B2C9
tetradic
#C931B2 #C99431 #31C948 #3166C9
square
#C931B2 #C99431 #31C948 #3166C9
split-complementary
#C931B2 #66C931 #31C994
monochromatic
#67195B #982586 #C931B2 #D85FC6 #E490D7

Accessibility & contrast

On white

4.60
#C931B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C931B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C931B2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C931B2#FFFFFF#000000##FFFFFF
##C931B21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#D33E6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c931b2;
/* rgb */ color: rgb(201, 49, 178);
/* oklch */ color: oklch(59.3% 0.228 335.1);
Tailwind
colors: {
  custom: {
    50: '#de79c9',
    500: '#c931b2',
    950: '#000000',
  },
}
SCSS
$custom: #c931b2;
$custom-light: #de79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c931b2",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 309.079,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59309,
    "c": 0.22788,
    "h": 335.1
  },
  "luminance": 0.17828
}

Semantic roles & 50–950 ramp

primary
#C931B2
secondary
#87CF92
accent
#E45C44
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C931B2

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

Preview Lab → · Contrast checker → · Palette generator →

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