#C21FAD#C21FAD

#C21FAD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.236 H 334.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C21FAD
RGBrgb(194, 31, 173)
HSLhsl(308, 72%, 44%)
HSVhsv(308, 84%, 76%)
CMYKcmyk(0%, 84%, 10.8%, 23.9%)
CIE-LABlab(46.27, 73.09, -36.96)
CIE-LCHlch(46.27, 81.90, 333.17°)
OKLaboklab(56.84% 0.2132 -0.1014)
OKLCHoklch(56.84% 0.236 334.6)
XYZxyz(30.2813, 15.4693, 40.9181)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21FAD #1FC234
analogous
#861FC2 #C21FAD #C21F5C
triadic
#C21FAD #ADC21F #1FADC2
tetradic
#C21FAD #C2861F #1FC234 #1F5CC2
square
#C21FAD #C2861F #1FC234 #1F5CC2
split-complementary
#C21FAD #5CC21F #1FC286
monochromatic
#580E4F #8D177E #C21FAD #E03ECB #E973D9

Accessibility & contrast

On white

5.13
#C21FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C21FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21FAD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21FAD#FFFFFF#000000##FFFFFF
##C21FAD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB0
Deuteranopia (green-blind)
#5F76A9
Tritanopia (blue-blind)
#CC3268
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c21fad;
/* rgb */ color: rgb(194, 31, 173);
/* oklch */ color: oklch(56.8% 0.236 334.6);
Tailwind
colors: {
  custom: {
    50: '#d972c6',
    500: '#c21fad',
    950: '#000000',
  },
}
SCSS
$custom: #c21fad;
$custom-light: #d972c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c21fad",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 173
  },
  "hsl": {
    "h": 307.73,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.23604,
    "h": 334.6
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#C21FAD
secondary
#6DCF7A
accent
#EF5039
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C21FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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