#C226C7#C226C7

#C226C7 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.7% C 0.249 H 326.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C226C7
RGBrgb(194, 38, 199)
HSLhsl(298, 68%, 46%)
HSVhsv(298, 81%, 78%)
CMYKcmyk(2.5%, 80.9%, 0%, 22%)
CIE-LABlab(48.24, 75.42, -49.06)
CIE-LCHlch(48.24, 89.97, 326.96°)
OKLaboklab(58.7% 0.2081 -0.1365)
OKLCHoklch(58.7% 0.249 326.7)
XYZxyz(33.2495, 16.9815, 55.5483)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C226C7 #2BC726
analogous
#7226C7 #C226C7 #C7267C
triadic
#C226C7 #C7C226 #26C7C2
tetradic
#C226C7 #C77226 #2BC726 #267CC7
square
#C226C7 #C77226 #2BC726 #267CC7
split-complementary
#C226C7 #7CC726 #26C772
monochromatic
#5E1260 #901C94 #C226C7 #D94DDD #E481E7

Accessibility & contrast

On white

4.78
#C226C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C226C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C226C7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C226C7#FFFFFF#000000##FFFFFF
##C226C71.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#5279C3
Tritanopia (blue-blind)
#C74579
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c226c7;
/* rgb */ color: rgb(194, 38, 199);
/* oklch */ color: oklch(58.7% 0.249 326.7);
Tailwind
colors: {
  custom: {
    50: '#d975d9',
    500: '#c226c7',
    950: '#000000',
  },
}
SCSS
$custom: #c226c7;
$custom-light: #d975d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c226c7",
  "rgb": {
    "r": 194,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 298.137,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58698,
    "c": 0.2489,
    "h": 326.7
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#C226C7
secondary
#7CCF79
accent
#EB3D42
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A15
muted
#837C83

Preview Lab

Preview with #C226C7

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

Preview Lab → · Contrast checker → · Palette generator →

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