#C526C1#C526C1

#C526C1 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.8% C 0.246 H 329.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C526C1
RGBrgb(197, 38, 193)
HSLhsl(302, 68%, 46%)
HSVhsv(302, 81%, 77%)
CMYKcmyk(0%, 80.7%, 2%, 22.7%)
CIE-LABlab(48.40, 75.06, -45.29)
CIE-LCHlch(48.40, 87.67, 328.90°)
OKLaboklab(58.8% 0.2115 -0.1254)
OKLCHoklch(58.8% 0.246 329.3)
XYZxyz(33.3445, 17.1094, 51.9880)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526C1 #26C52A
analogous
#7926C5 #C526C1 #C52672
triadic
#C526C1 #C1C526 #26C1C5
tetradic
#C526C1 #C57926 #26C52A #2672C5
square
#C526C1 #C57926 #26C52A #2672C5
split-complementary
#C526C1 #72C526 #26C579
monochromatic
#5E125C #921C8F #C526C1 #DC4CD9 #E67FE4

Accessibility & contrast

On white

4.75
#C526C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C526C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C526C1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526C1#FFFFFF#000000##FFFFFF
##C526C11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C5
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#CC4175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c526c1;
/* rgb */ color: rgb(197, 38, 193);
/* oklch */ color: oklch(58.8% 0.246 329.3);
Tailwind
colors: {
  custom: {
    50: '#db75d4',
    500: '#c526c1',
    950: '#000000',
  },
}
SCSS
$custom: #c526c1;
$custom-light: #db75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c526c1",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 301.509,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.2459,
    "h": 329.3
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

primary
#C526C1
secondary
#78CF7A
accent
#EB423D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C526C1

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

Preview Lab → · Contrast checker → · Palette generator →

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