#C21FAA#C21FAA

#C21FAA is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.234 H 335.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C21FAA
RGBrgb(194, 31, 170)
HSLhsl(309, 72%, 44%)
HSVhsv(309, 84%, 76%)
CMYKcmyk(0%, 84%, 12.4%, 23.9%)
CIE-LABlab(46.12, 72.67, -35.43)
CIE-LCHlch(46.12, 80.85, 334.01°)
OKLaboklab(56.68% 0.2131 -0.097)
OKLCHoklch(56.68% 0.234 335.5)
XYZxyz(29.9943, 15.3544, 39.4065)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21FAA #1FC237
analogous
#881FC2 #C21FAA #C21F59
triadic
#C21FAA #AAC21F #1FAAC2
tetradic
#C21FAA #C2881F #1FC237 #1F59C2
square
#C21FAA #C2881F #1FC237 #1F59C2
split-complementary
#C21FAA #59C21F #1FC288
monochromatic
#580E4E #8D177C #C21FAA #E03EC8 #E973D7

Accessibility & contrast

On white

5.16
#C21FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C21FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21FAA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21FAA#FFFFFF#000000##FFFFFF
##C21FAA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#6175A6
Tritanopia (blue-blind)
#CC3066
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c21faa;
/* rgb */ color: rgb(194, 31, 170);
/* oklch */ color: oklch(56.7% 0.234 335.5);
Tailwind
colors: {
  custom: {
    50: '#d972c4',
    500: '#c21faa',
    950: '#000000',
  },
}
SCSS
$custom: #c21faa;
$custom-light: #d972c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c21faa",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 308.834,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.23409,
    "h": 335.5
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#C21FAA
secondary
#6DCF7C
accent
#EF5439
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #C21FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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