#C931C2#C931C2

#C931C2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.2% C 0.239 H 330.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C931C2
RGBrgb(201, 49, 194)
HSLhsl(303, 61%, 49%)
HSVhsv(303, 76%, 79%)
CMYKcmyk(0%, 75.6%, 3.5%, 21.2%)
CIE-LABlab(50.11, 73.16, -43.11)
CIE-LCHlch(50.11, 84.91, 329.49°)
OKLaboklab(60.16% 0.2073 -0.1191)
OKLCHoklch(60.16% 0.239 330.1)
XYZxyz(34.9232, 18.5119, 52.7623)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C931C2 #31C938
analogous
#8431C9 #C931C2 #C93176
triadic
#C931C2 #C2C931 #31C2C9
tetradic
#C931C2 #C98431 #31C938 #3176C9
square
#C931C2 #C98431 #31C938 #3176C9
split-complementary
#C931C2 #76C931 #31C984
monochromatic
#671963 #982593 #C931C2 #D85FD2 #E490E0

Accessibility & contrast

On white

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

On black

4.70
#C931C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C931C2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C931C2#FFFFFF#000000##000000
##C931C21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#D14778
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c931c2;
/* rgb */ color: rgb(201, 49, 194);
/* oklch */ color: oklch(60.2% 0.239 330.1);
Tailwind
colors: {
  custom: {
    50: '#de7ad5',
    500: '#c931c2',
    950: '#000000',
  },
}
SCSS
$custom: #c931c2;
$custom-light: #de7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#c931c2",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 302.763,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.23907,
    "h": 330.1
  },
  "luminance": 0.18509
}

Semantic roles & 50–950 ramp

primary
#C931C2
secondary
#87CF8A
accent
#E44B44
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C931C2

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

Preview Lab → · Contrast checker → · Palette generator →

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