#C212E2#C212E2

#C212E2 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 59.6% C 0.279 H 320.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C212E2
RGBrgb(194, 18, 226)
HSLhsl(291, 85%, 48%)
HSVhsv(291, 92%, 89%)
CMYKcmyk(14.2%, 92%, 0%, 11.4%)
CIE-LABlab(48.75, 83.29, -63.71)
CIE-LCHlch(48.75, 104.86, 322.59°)
OKLaboklab(59.6% 0.2139 -0.1793)
OKLCHoklch(59.6% 0.279 320)
XYZxyz(36.1902, 17.3949, 73.3881)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C212E2 #32E212
analogous
#5A12E2 #C212E2 #E2129A
triadic
#C212E2 #E2C212 #12E2C2
tetradic
#C212E2 #E25A12 #32E212 #129AE2
square
#C212E2 #E25A12 #32E212 #129AE2
split-complementary
#C212E2 #9AE212 #12E25A
monochromatic
#610971 #910DA9 #C212E2 #D541F0 #E27AF4

Accessibility & contrast

On white

4.69
#C212E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C212E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C212E2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C212E2#FFFFFF#000000##FFFFFF
##C212E21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#3079DE
Tritanopia (blue-blind)
#C24E86
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c212e2;
/* rgb */ color: rgb(194, 18, 226);
/* oklch */ color: oklch(59.6% 0.279 320.0);
Tailwind
colors: {
  custom: {
    50: '#da72ec',
    500: '#c212e2',
    950: '#000000',
  },
}
SCSS
$custom: #c212e2;
$custom-light: #da72ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c212e2",
  "rgb": {
    "r": 194,
    "g": 18,
    "b": 226
  },
  "hsl": {
    "h": 290.769,
    "s": 85.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59604,
    "c": 0.27911,
    "h": 320
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#C212E2
secondary
#84DC74
accent
#FB2C4C
background
#FEF7FE
surface
#FCEEFD
border
#D5C9D5
text
#160A16
muted
#847C84

Preview Lab

Preview with #C212E2

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

Preview Lab → · Contrast checker → · Palette generator →

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