#C726C5#C726C5

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

Color values

HEX#C726C5
RGBrgb(199, 38, 197)
HSLhsl(301, 68%, 46%)
HSVhsv(301, 81%, 78%)
CMYKcmyk(0%, 80.9%, 1%, 22%)
CIE-LABlab(48.96, 76.06, -46.69)
CIE-LCHlch(48.96, 89.25, 328.45°)
OKLaboklab(59.33% 0.2133 -0.1295)
OKLCHoklch(59.33% 0.25 328.7)
XYZxyz(34.3240, 17.5622, 54.3945)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C726C5 #26C728
analogous
#7926C7 #C726C5 #C72675
triadic
#C726C5 #C5C726 #26C5C7
tetradic
#C726C5 #C77926 #26C728 #2675C7
square
#C726C5 #C77926 #26C728 #2675C7
split-complementary
#C726C5 #75C726 #26C779
monochromatic
#60125F #941C92 #C726C5 #DD4DDB #E781E6

Accessibility & contrast

On white

4.65
#C726C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C726C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C726C5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C726C5#FFFFFF#000000##FFFFFF
##C726C51.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#597BC1
Tritanopia (blue-blind)
#CE4377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c726c5;
/* rgb */ color: rgb(199, 38, 197);
/* oklch */ color: oklch(59.3% 0.250 328.7);
Tailwind
colors: {
  custom: {
    50: '#dc76d7',
    500: '#c726c5',
    950: '#000000',
  },
}
SCSS
$custom: #c726c5;
$custom-light: #dc76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c726c5",
  "rgb": {
    "r": 199,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 300.745,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.59333,
    "c": 0.24956,
    "h": 328.7
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C726C5

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

Preview Lab → · Contrast checker → · Palette generator →

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