#C031A9#C031A9

#C031A9 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.217 H 335.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C031A9
RGBrgb(192, 49, 169)
HSLhsl(310, 59%, 47%)
HSVhsv(310, 74%, 75%)
CMYKcmyk(0%, 74.5%, 12%, 24.7%)
CIE-LABlab(47.33, 67.46, -32.96)
CIE-LCHlch(47.33, 75.08, 333.96°)
OKLaboklab(57.47% 0.1973 -0.09)
OKLCHoklch(57.47% 0.217 335.5)
XYZxyz(29.9984, 16.2704, 39.0890)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031A9 #31C048
analogous
#8F31C0 #C031A9 #C03162
triadic
#C031A9 #A9C031 #31A9C0
tetradic
#C031A9 #C08F31 #31C048 #3162C0
square
#C031A9 #C08F31 #31C048 #3162C0
split-complementary
#C031A9 #62C031 #31C08F
monochromatic
#5E1853 #8F257E #C031A9 #D559C1 #E18AD3

Accessibility & contrast

On white

4.94
#C031A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C031A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031A9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031A9#FFFFFF#000000##FFFFFF
##C031A91.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AC
Deuteranopia (green-blind)
#6578A6
Tritanopia (blue-blind)
#CA3C6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c031a9;
/* rgb */ color: rgb(192, 49, 169);
/* oklch */ color: oklch(57.5% 0.217 335.5);
Tailwind
colors: {
  custom: {
    50: '#d778c3',
    500: '#c031a9',
    950: '#000000',
  },
}
SCSS
$custom: #c031a9;
$custom-light: #d778c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c031a9",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 309.65,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57466,
    "c": 0.2169,
    "h": 335.5
  },
  "luminance": 0.16268
}

Semantic roles & 50–950 ramp

primary
#C031A9
secondary
#82CB8D
accent
#E35F45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C031A9

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

Preview Lab → · Contrast checker → · Palette generator →

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