#C031C1#C031C1

#C031C1 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.8% C 0.234 H 327.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C031C1
RGBrgb(192, 49, 193)
HSLhsl(300, 60%, 47%)
HSVhsv(300, 75%, 76%)
CMYKcmyk(0.5%, 74.6%, 0%, 24.3%)
CIE-LABlab(48.58, 71.14, -45.05)
CIE-LCHlch(48.58, 84.20, 327.66°)
OKLaboklab(58.77% 0.1981 -0.1249)
OKLCHoklch(58.77% 0.234 327.8)
XYZxyz(32.4617, 17.2557, 52.0627)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C031C1 #32C131
analogous
#7831C1 #C031C1 #C1317A
triadic
#C031C1 #C1C031 #31C1C0
tetradic
#C031C1 #C17831 #32C131 #317AC1
square
#C031C1 #C17831 #32C131 #317AC1
split-complementary
#C031C1 #7AC131 #31C178
monochromatic
#5F185F #8F2590 #C031C1 #D45AD5 #E18BE2

Accessibility & contrast

On white

4.72
#C031C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C031C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C031C1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C031C1#FFFFFF#000000##FFFFFF
##C031C11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B68C5
Deuteranopia (green-blind)
#587ABD
Tritanopia (blue-blind)
#C64977
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c031c1;
/* rgb */ color: rgb(192, 49, 193);
/* oklch */ color: oklch(58.8% 0.234 327.8);
Tailwind
colors: {
  custom: {
    50: '#d779d4',
    500: '#c031c1',
    950: '#000000',
  },
}
SCSS
$custom: #c031c1;
$custom-light: #d779d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c031c1",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 299.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58769,
    "c": 0.23417,
    "h": 327.8
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#C031C1
secondary
#83CC82
accent
#E34546
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C031C1

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

Preview Lab → · Contrast checker → · Palette generator →

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