#C726C4#C726C4

#C726C4 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.3% C 0.249 H 329.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C726C4
RGBrgb(199, 38, 196)
HSLhsl(301, 68%, 46%)
HSVhsv(301, 81%, 78%)
CMYKcmyk(0%, 80.9%, 1.5%, 22%)
CIE-LABlab(48.90, 75.90, -46.20)
CIE-LCHlch(48.90, 88.86, 328.67°)
OKLaboklab(59.28% 0.2134 -0.1281)
OKLCHoklch(59.28% 0.249 329)
XYZxyz(34.2098, 17.5166, 53.7931)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C726C4 #26C729
analogous
#7A26C7 #C726C4 #C72674
triadic
#C726C4 #C4C726 #26C4C7
tetradic
#C726C4 #C77A26 #26C729 #2674C7
square
#C726C4 #C77A26 #26C729 #2674C7
split-complementary
#C726C4 #74C726 #26C77A
monochromatic
#60125F #941C91 #C726C4 #DD4DDA #E781E5

Accessibility & contrast

On white

4.66
#C726C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C726C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C726C4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C726C4#FFFFFF#000000##FFFFFF
##C726C41.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#597BC0
Tritanopia (blue-blind)
#CE4277
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c726c4;
/* rgb */ color: rgb(199, 38, 196);
/* oklch */ color: oklch(59.3% 0.249 329.0);
Tailwind
colors: {
  custom: {
    50: '#dc76d6',
    500: '#c726c4',
    950: '#000000',
  },
}
SCSS
$custom: #c726c4;
$custom-light: #dc76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c726c4",
  "rgb": {
    "r": 199,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 301.118,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.24886,
    "h": 329
  },
  "luminance": 0.17514
}

Semantic roles & 50–950 ramp

primary
#C726C4
secondary
#79CF7B
accent
#EB403D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C726C4

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

Preview Lab → · Contrast checker → · Palette generator →

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