#C931C8#C931C8

#C931C8 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.5% C 0.243 H 328.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C931C8
RGBrgb(201, 49, 200)
HSLhsl(300, 61%, 49%)
HSVhsv(300, 76%, 79%)
CMYKcmyk(0%, 75.6%, 0.5%, 21.2%)
CIE-LABlab(50.44, 74.09, -46.06)
CIE-LCHlch(50.44, 87.24, 328.13°)
OKLaboklab(60.5% 0.2073 -0.1277)
OKLCHoklch(60.5% 0.243 328.4)
XYZxyz(35.6106, 18.7869, 56.3830)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C931C8 #31C932
analogous
#7E31C9 #C931C8 #C9317C
triadic
#C931C8 #C8C931 #31C8C9
tetradic
#C931C8 #C97E31 #31C932 #317CC9
square
#C931C8 #C97E31 #31C932 #317CC9
split-complementary
#C931C8 #7CC931 #31C97E
monochromatic
#671966 #982597 #C931C8 #D85FD7 #E490E3

Accessibility & contrast

On white

4.41
#C931C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C931C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C931C8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C931C8#FFFFFF#000000##000000
##C931C81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A6BCC
Deuteranopia (green-blind)
#5D7FC4
Tritanopia (blue-blind)
#D04A7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c931c8;
/* rgb */ color: rgb(201, 49, 200);
/* oklch */ color: oklch(60.5% 0.243 328.4);
Tailwind
colors: {
  custom: {
    50: '#de7ad9',
    500: '#c931c8',
    950: '#000000',
  },
}
SCSS
$custom: #c931c8;
$custom-light: #de7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#c931c8",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 300.395,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60499,
    "c": 0.24341,
    "h": 328.4
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

primary
#C931C8
secondary
#87CF88
accent
#E44544
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A15
muted
#847C83

Preview Lab

Preview with #C931C8

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

Preview Lab → · Contrast checker → · Palette generator →

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