#C031AD#C031AD

#C031AD is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.220 H 334.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C031AD
RGBrgb(192, 49, 173)
HSLhsl(308, 59%, 47%)
HSVhsv(308, 74%, 75%)
CMYKcmyk(0%, 74.5%, 9.9%, 24.7%)
CIE-LABlab(47.52, 68.05, -35.01)
CIE-LCHlch(47.52, 76.53, 332.77°)
OKLaboklab(57.67% 0.1976 -0.0959)
OKLCHoklch(57.67% 0.22 334.1)
XYZxyz(30.3797, 16.4229, 41.0970)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031AD #31C044
analogous
#8C31C0 #C031AD #C03166
triadic
#C031AD #ADC031 #31ADC0
tetradic
#C031AD #C08C31 #31C044 #3166C0
square
#C031AD #C08C31 #31C044 #3166C0
split-complementary
#C031AD #66C031 #31C08C
monochromatic
#5E1855 #8F2581 #C031AD #D559C4 #E18AD6

Accessibility & contrast

On white

4.90
#C031AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C031AD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031AD#FFFFFF#000000##FFFFFF
##C031AD1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63B0
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#C93F6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c031ad;
/* rgb */ color: rgb(192, 49, 173);
/* oklch */ color: oklch(57.7% 0.220 334.1);
Tailwind
colors: {
  custom: {
    50: '#d778c6',
    500: '#c031ad',
    950: '#000000',
  },
}
SCSS
$custom: #c031ad;
$custom-light: #d778c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c031ad",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 307.972,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57672,
    "c": 0.21967,
    "h": 334.1
  },
  "luminance": 0.1642
}

Semantic roles & 50–950 ramp

primary
#C031AD
secondary
#82CB8B
accent
#E35A45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C031AD

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

Preview Lab → · Contrast checker → · Palette generator →

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