#C526C4#C526C4

#C526C4 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 59.0% C 0.248 H 328.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C526C4
RGBrgb(197, 38, 196)
HSLhsl(300, 68%, 46%)
HSVhsv(300, 81%, 77%)
CMYKcmyk(0%, 80.7%, 0.5%, 22.7%)
CIE-LABlab(48.57, 75.52, -46.76)
CIE-LCHlch(48.57, 88.83, 328.24°)
OKLaboklab(58.97% 0.2114 -0.1297)
OKLCHoklch(58.97% 0.248 328.5)
XYZxyz(33.6825, 17.2447, 53.7684)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526C4 #26C527
analogous
#7626C5 #C526C4 #C52674
triadic
#C526C4 #C4C526 #26C4C5
tetradic
#C526C4 #C57626 #26C527 #2674C5
square
#C526C4 #C57626 #26C527 #2674C5
split-complementary
#C526C4 #74C526 #26C576
monochromatic
#5E125E #921C91 #C526C4 #DC4CDC #E67FE6

Accessibility & contrast

On white

4.72
#C526C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C526C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C526C4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526C4#FFFFFF#000000##FFFFFF
##C526C41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#577AC0
Tritanopia (blue-blind)
#CC4377
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c526c4;
/* rgb */ color: rgb(197, 38, 196);
/* oklch */ color: oklch(59.0% 0.248 328.5);
Tailwind
colors: {
  custom: {
    50: '#db76d6',
    500: '#c526c4',
    950: '#000000',
  },
}
SCSS
$custom: #c526c4;
$custom-light: #db76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c526c4",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 300.377,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58972,
    "c": 0.24801,
    "h": 328.5
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#C526C4
secondary
#78CF79
accent
#EB3E3D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C526C4

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

Preview Lab → · Contrast checker → · Palette generator →

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