#C526C2#C526C2

#C526C2 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.9% C 0.247 H 329.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C526C2
RGBrgb(197, 38, 194)
HSLhsl(301, 68%, 46%)
HSVhsv(301, 81%, 77%)
CMYKcmyk(0%, 80.7%, 1.5%, 22.7%)
CIE-LABlab(48.45, 75.22, -45.78)
CIE-LCHlch(48.45, 88.05, 328.67°)
OKLaboklab(58.86% 0.2115 -0.1269)
OKLCHoklch(58.86% 0.247 329)
XYZxyz(33.4564, 17.1542, 52.5775)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526C2 #26C529
analogous
#7826C5 #C526C2 #C52672
triadic
#C526C2 #C2C526 #26C2C5
tetradic
#C526C2 #C57826 #26C529 #2672C5
square
#C526C2 #C57826 #26C529 #2672C5
split-complementary
#C526C2 #72C526 #26C578
monochromatic
#5E125D #921C8F #C526C2 #DC4CDA #E67FE4

Accessibility & contrast

On white

4.74
#C526C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C526C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C526C2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526C2#FFFFFF#000000##FFFFFF
##C526C21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#597ABE
Tritanopia (blue-blind)
#CC4276
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c526c2;
/* rgb */ color: rgb(197, 38, 194);
/* oklch */ color: oklch(58.9% 0.247 329.0);
Tailwind
colors: {
  custom: {
    50: '#db76d5',
    500: '#c526c2',
    950: '#000000',
  },
}
SCSS
$custom: #c526c2;
$custom-light: #db76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c526c2",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 194
  },
  "hsl": {
    "h": 301.132,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.2466,
    "h": 329
  },
  "luminance": 0.17152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C526C2

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

Preview Lab → · Contrast checker → · Palette generator →

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