#C031AC#C031AC

#C031AC is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.219 H 334.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C031AC
RGBrgb(192, 49, 172)
HSLhsl(308, 59%, 47%)
HSVhsv(308, 74%, 75%)
CMYKcmyk(0%, 74.5%, 10.4%, 24.7%)
CIE-LABlab(47.47, 67.90, -34.50)
CIE-LCHlch(47.47, 76.16, 333.07°)
OKLaboklab(57.62% 0.1976 -0.0944)
OKLCHoklch(57.62% 0.219 334.5)
XYZxyz(30.2833, 16.3843, 40.5893)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031AC #31C045
analogous
#8D31C0 #C031AC #C03164
triadic
#C031AC #ACC031 #31ACC0
tetradic
#C031AC #C08D31 #31C045 #3164C0
square
#C031AC #C08D31 #31C045 #3164C0
split-complementary
#C031AC #64C031 #31C08D
monochromatic
#5E1855 #8F2580 #C031AC #D559C4 #E18AD5

Accessibility & contrast

On white

4.91
#C031AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C031AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031AC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031AC#FFFFFF#000000##FFFFFF
##C031AC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#6378A9
Tritanopia (blue-blind)
#C93E6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c031ac;
/* rgb */ color: rgb(192, 49, 172);
/* oklch */ color: oklch(57.6% 0.219 334.5);
Tailwind
colors: {
  custom: {
    50: '#d778c5',
    500: '#c031ac',
    950: '#000000',
  },
}
SCSS
$custom: #c031ac;
$custom-light: #d778c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c031ac",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 308.392,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5762,
    "c": 0.21897,
    "h": 334.5
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#C031AC
secondary
#82CB8C
accent
#E35B45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C031AC

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

Preview Lab → · Contrast checker → · Palette generator →

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