#C226AD#C226AD

#C226AD is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.231 H 334.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C226AD
RGBrgb(194, 38, 173)
HSLhsl(308, 67%, 45%)
HSVhsv(308, 80%, 76%)
CMYKcmyk(0%, 80.4%, 10.8%, 23.9%)
CIE-LABlab(46.81, 71.52, -36.11)
CIE-LCHlch(46.81, 80.12, 333.21°)
OKLaboklab(57.22% 0.2085 -0.099)
OKLCHoklch(57.22% 0.231 334.6)
XYZxyz(30.4845, 15.8755, 40.9858)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C226AD #26C23B
analogous
#8926C2 #C226AD #C2265F
triadic
#C226AD #ADC226 #26ADC2
tetradic
#C226AD #C28926 #26C23B #265FC2
square
#C226AD #C28926 #26C23B #265FC2
split-complementary
#C226AD #5FC226 #26C289
monochromatic
#5C1252 #8F1C7F #C226AD #DB4AC8 #E67DD7

Accessibility & contrast

On white

5.03
#C226AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C226AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C226AD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C226AD#FFFFFF#000000##FFFFFF
##C226AD1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B0
Deuteranopia (green-blind)
#6177A9
Tritanopia (blue-blind)
#CC366A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c226ad;
/* rgb */ color: rgb(194, 38, 173);
/* oklch */ color: oklch(57.2% 0.231 334.6);
Tailwind
colors: {
  custom: {
    50: '#d974c6',
    500: '#c226ad',
    950: '#000000',
  },
}
SCSS
$custom: #c226ad;
$custom-light: #d974c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c226ad",
  "rgb": {
    "r": 194,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 308.077,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57224,
    "c": 0.23081,
    "h": 334.6
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#C226AD
secondary
#76CE82
accent
#EA553E
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C226AD

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

Preview Lab → · Contrast checker → · Palette generator →

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