#C526BA#C526BA

#C526BA is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.4% C 0.241 H 331.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C526BA
RGBrgb(197, 38, 186)
HSLhsl(304, 68%, 46%)
HSVhsv(304, 81%, 77%)
CMYKcmyk(0%, 80.7%, 5.6%, 22.7%)
CIE-LABlab(48.01, 74.01, -41.82)
CIE-LCHlch(48.01, 85.01, 330.53°)
OKLaboklab(58.4% 0.2116 -0.1154)
OKLCHoklch(58.4% 0.241 331.4)
XYZxyz(32.5820, 16.8045, 47.9724)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526BA #26C531
analogous
#8026C5 #C526BA #C5266A
triadic
#C526BA #BAC526 #26BAC5
tetradic
#C526BA #C58026 #26C531 #266AC5
square
#C526BA #C58026 #26C531 #266AC5
split-complementary
#C526BA #6AC526 #26C580
monochromatic
#5E1259 #921C8A #C526BA #DC4CD2 #E67FDF

Accessibility & contrast

On white

4.82
#C526BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C526BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C526BA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526BA#FFFFFF#000000##FFFFFF
##C526BA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F64BE
Deuteranopia (green-blind)
#5D79B6
Tritanopia (blue-blind)
#CD3D71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c526ba;
/* rgb */ color: rgb(197, 38, 186);
/* oklch */ color: oklch(58.4% 0.241 331.4);
Tailwind
colors: {
  custom: {
    50: '#db75cf',
    500: '#c526ba',
    950: '#000000',
  },
}
SCSS
$custom: #c526ba;
$custom-light: #db75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c526ba",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 304.151,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.584,
    "c": 0.24104,
    "h": 331.4
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

primary
#C526BA
secondary
#78CF7E
accent
#EB493D
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C526BA

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

Preview Lab → · Contrast checker → · Palette generator →

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