#C222D3#C222D3

#C222D3 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.2% C 0.260 H 323.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C222D3
RGBrgb(194, 34, 211)
HSLhsl(294, 72%, 48%)
HSVhsv(294, 84%, 83%)
CMYKcmyk(8.1%, 83.9%, 0%, 17.3%)
CIE-LABlab(48.66, 78.23, -55.30)
CIE-LCHlch(48.66, 95.80, 324.75°)
OKLaboklab(59.23% 0.2094 -0.1547)
OKLCHoklch(59.23% 0.26 323.5)
XYZxyz(34.5770, 17.3188, 63.1370)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C222D3 #33D322
analogous
#6922D3 #C222D3 #D3228C
triadic
#C222D3 #D3C222 #22D3C2
tetradic
#C222D3 #D36922 #33D322 #228CD3
square
#C222D3 #D36922 #33D322 #228CD3
split-complementary
#C222D3 #8CD322 #22D369
monochromatic
#61116A #921A9E #C222D3 #D54FE3 #E184EB

Accessibility & contrast

On white

4.70
#C222D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C222D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C222D3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C222D3#FFFFFF#000000##FFFFFF
##C222D31.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#C54A7F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c222d3;
/* rgb */ color: rgb(194, 34, 211);
/* oklch */ color: oklch(59.2% 0.260 323.5);
Tailwind
colors: {
  custom: {
    50: '#d975e1',
    500: '#c222d3',
    950: '#000000',
  },
}
SCSS
$custom: #c222d3;
$custom-light: #d975e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c222d3",
  "rgb": {
    "r": 194,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 294.237,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59228,
    "c": 0.26037,
    "h": 323.5
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#C222D3
secondary
#85D47D
accent
#EF394A
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C222D3

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

Preview Lab → · Contrast checker → · Palette generator →

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