#C227C4#C227C4

#C227C4 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.6% C 0.246 H 327.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C227C4
RGBrgb(194, 39, 196)
HSLhsl(299, 67%, 46%)
HSVhsv(299, 80%, 77%)
CMYKcmyk(1%, 80.1%, 0%, 23.1%)
CIE-LABlab(48.14, 74.71, -47.46)
CIE-LCHlch(48.14, 88.52, 327.57°)
OKLaboklab(58.58% 0.2077 -0.1319)
OKLCHoklch(58.58% 0.246 327.6)
XYZxyz(32.9370, 16.9084, 53.7427)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C227C4 #29C427
analogous
#7327C4 #C227C4 #C42777
triadic
#C227C4 #C4C227 #27C4C2
tetradic
#C227C4 #C47327 #29C427 #2777C4
square
#C227C4 #C47327 #29C427 #2777C4
split-complementary
#C227C4 #77C427 #27C473
monochromatic
#5D135E #8F1D91 #C227C4 #DA4DDC #E480E6

Accessibility & contrast

On white

4.79
#C227C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C227C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C227C4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C227C4#FFFFFF#000000##FFFFFF
##C227C41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#5579C0
Tritanopia (blue-blind)
#C84477
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c227c4;
/* rgb */ color: rgb(194, 39, 196);
/* oklch */ color: oklch(58.6% 0.246 327.6);
Tailwind
colors: {
  custom: {
    50: '#d975d6',
    500: '#c227c4',
    950: '#000000',
  },
}
SCSS
$custom: #c227c4;
$custom-light: #d975d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c227c4",
  "rgb": {
    "r": 194,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 299.236,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58577,
    "c": 0.24598,
    "h": 327.6
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#C227C4
secondary
#7ACE79
accent
#EA3E40
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C227C4

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

Preview Lab → · Contrast checker → · Palette generator →

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