#C21FAE#C21FAE

#C21FAE is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.9% C 0.237 H 334.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C21FAE
RGBrgb(194, 31, 174)
HSLhsl(307, 72%, 44%)
HSVhsv(307, 84%, 76%)
CMYKcmyk(0%, 84%, 10.3%, 23.9%)
CIE-LABlab(46.32, 73.23, -37.47)
CIE-LCHlch(46.32, 82.26, 332.90°)
OKLaboklab(56.89% 0.2132 -0.1028)
OKLCHoklch(56.89% 0.237 334.2)
XYZxyz(30.3785, 15.5081, 41.4296)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21FAE #1FC233
analogous
#851FC2 #C21FAE #C21F5D
triadic
#C21FAE #AEC21F #1FAEC2
tetradic
#C21FAE #C2851F #1FC233 #1F5DC2
square
#C21FAE #C2851F #1FC233 #1F5DC2
split-complementary
#C21FAE #5DC21F #1FC285
monochromatic
#580E4F #8D177F #C21FAE #E03ECC #E973DA

Accessibility & contrast

On white

5.12
#C21FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C21FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21FAE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21FAE#FFFFFF#000000##FFFFFF
##C21FAE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#5F76AA
Tritanopia (blue-blind)
#CC3369
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c21fae;
/* rgb */ color: rgb(194, 31, 174);
/* oklch */ color: oklch(56.9% 0.237 334.2);
Tailwind
colors: {
  custom: {
    50: '#d972c6',
    500: '#c21fae',
    950: '#000000',
  },
}
SCSS
$custom: #c21fae;
$custom-light: #d972c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c21fae",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 307.362,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.23669,
    "h": 334.2
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#C21FAE
secondary
#6DCF79
accent
#EF4F39
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C21FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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