#C726C6#C726C6

#C726C6 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.4% C 0.250 H 328.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C726C6
RGBrgb(199, 38, 198)
HSLhsl(300, 68%, 46%)
HSVhsv(300, 81%, 78%)
CMYKcmyk(0%, 80.9%, 0.5%, 22%)
CIE-LABlab(49.02, 76.21, -47.18)
CIE-LCHlch(49.02, 89.63, 328.24°)
OKLaboklab(59.39% 0.2133 -0.1309)
OKLCHoklch(59.39% 0.25 328.5)
XYZxyz(34.4390, 17.6082, 55.0000)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C726C6 #26C727
analogous
#7826C7 #C726C6 #C72676
triadic
#C726C6 #C6C726 #26C6C7
tetradic
#C726C6 #C77826 #26C727 #2676C7
square
#C726C6 #C77826 #26C727 #2676C7
split-complementary
#C726C6 #76C726 #26C778
monochromatic
#601260 #941C93 #C726C6 #DD4DDC #E781E6

Accessibility & contrast

On white

4.64
#C726C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C726C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C726C6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C726C6#FFFFFF#000000##FFFFFF
##C726C61.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#587BC2
Tritanopia (blue-blind)
#CE4378
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c726c6;
/* rgb */ color: rgb(199, 38, 198);
/* oklch */ color: oklch(59.4% 0.250 328.5);
Tailwind
colors: {
  custom: {
    50: '#dc76d8',
    500: '#c726c6',
    950: '#000000',
  },
}
SCSS
$custom: #c726c6;
$custom-light: #dc76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c726c6",
  "rgb": {
    "r": 199,
    "g": 38,
    "b": 198
  },
  "hsl": {
    "h": 300.373,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.59391,
    "c": 0.25027,
    "h": 328.5
  },
  "luminance": 0.17606
}

Semantic roles & 50–950 ramp

primary
#C726C6
secondary
#79CF7A
accent
#EB3E3D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C726C6

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

Preview Lab → · Contrast checker → · Palette generator →

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