#C22FCA#C22FCA

#C22FCA is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.4% C 0.244 H 325.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C22FCA
RGBrgb(194, 47, 202)
HSLhsl(297, 62%, 49%)
HSVhsv(297, 77%, 79%)
CMYKcmyk(4%, 76.7%, 0%, 20.8%)
CIE-LABlab(49.21, 73.58, -49.23)
CIE-LCHlch(49.21, 88.53, 326.21°)
OKLaboklab(59.45% 0.2015 -0.137)
OKLCHoklch(59.45% 0.244 325.8)
XYZxyz(33.9246, 17.7690, 57.5086)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FCA #37CA2F
analogous
#752FCA #C22FCA #CA2F85
triadic
#C22FCA #CAC22F #2FCAC2
tetradic
#C22FCA #CA752F #37CA2F #2F85CA
square
#C22FCA #CA752F #37CA2F #2F85CA
split-complementary
#C22FCA #85CA2F #2FCA75
monochromatic
#631867 #922398 #C22FCA #D35DD9 #E08FE5

Accessibility & contrast

On white

4.61
#C22FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C22FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FCA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FCA#FFFFFF#000000##FFFFFF
##C22FCA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#547BC6
Tritanopia (blue-blind)
#C74C7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c22fca;
/* rgb */ color: rgb(194, 47, 202);
/* oklch */ color: oklch(59.4% 0.244 325.8);
Tailwind
colors: {
  custom: {
    50: '#d979db',
    500: '#c22fca',
    950: '#000000',
  },
}
SCSS
$custom: #c22fca;
$custom-light: #d979db;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fca",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 296.903,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59448,
    "c": 0.24365,
    "h": 325.8
  },
  "luminance": 0.17767
}

Semantic roles & 50–950 ramp

primary
#C22FCA
secondary
#89CF86
accent
#E5424B
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C22FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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