#C931C1#C931C1

#C931C1 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.1% C 0.238 H 330.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C931C1
RGBrgb(201, 49, 193)
HSLhsl(303, 61%, 49%)
HSVhsv(303, 76%, 79%)
CMYKcmyk(0%, 75.6%, 4%, 21.2%)
CIE-LABlab(50.06, 73.00, -42.61)
CIE-LCHlch(50.06, 84.53, 329.73°)
OKLaboklab(60.11% 0.2073 -0.1176)
OKLCHoklch(60.11% 0.238 330.4)
XYZxyz(34.8112, 18.4672, 52.1728)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C931C1 #31C939
analogous
#8531C9 #C931C1 #C93175
triadic
#C931C1 #C1C931 #31C1C9
tetradic
#C931C1 #C98531 #31C939 #3175C9
square
#C931C1 #C98531 #31C939 #3175C9
split-complementary
#C931C1 #75C931 #31C985
monochromatic
#671963 #982592 #C931C1 #D85FD2 #E490E0

Accessibility & contrast

On white

4.47
#C931C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C931C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C931C1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C931C1#FFFFFF#000000##000000
##C931C11.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6AC5
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#D14677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c931c1;
/* rgb */ color: rgb(201, 49, 193);
/* oklch */ color: oklch(60.1% 0.238 330.4);
Tailwind
colors: {
  custom: {
    50: '#de7ad4',
    500: '#c931c1',
    950: '#000000',
  },
}
SCSS
$custom: #c931c1;
$custom-light: #de7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#c931c1",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 303.158,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.23836,
    "h": 330.4
  },
  "luminance": 0.18464
}

Semantic roles & 50–950 ramp

primary
#C931C1
secondary
#87CF8B
accent
#E44C44
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C931C1

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

Preview Lab → · Contrast checker → · Palette generator →

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