#C526B8#C526B8

#C526B8 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.3% C 0.240 H 332.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C526B8
RGBrgb(197, 38, 184)
HSLhsl(305, 68%, 46%)
HSVhsv(305, 81%, 77%)
CMYKcmyk(0%, 80.7%, 6.6%, 22.7%)
CIE-LABlab(47.91, 73.72, -40.82)
CIE-LCHlch(47.91, 84.27, 331.03°)
OKLaboklab(58.29% 0.2116 -0.1125)
OKLCHoklch(58.29% 0.24 332)
XYZxyz(32.3709, 16.7200, 46.8605)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526B8 #26C533
analogous
#8226C5 #C526B8 #C52668
triadic
#C526B8 #B8C526 #26B8C5
tetradic
#C526B8 #C58226 #26C533 #2668C5
square
#C526B8 #C58226 #26C533 #2668C5
split-complementary
#C526B8 #68C526 #26C582
monochromatic
#5E1258 #921C88 #C526B8 #DC4CD1 #E67FDE

Accessibility & contrast

On white

4.83
#C526B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C526B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C526B8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526B8#FFFFFF#000000##FFFFFF
##C526B81.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1464BC
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#CD3C70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c526b8;
/* rgb */ color: rgb(197, 38, 184);
/* oklch */ color: oklch(58.3% 0.240 332.0);
Tailwind
colors: {
  custom: {
    50: '#db75ce',
    500: '#c526b8',
    950: '#000000',
  },
}
SCSS
$custom: #c526b8;
$custom-light: #db75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c526b8",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 184
  },
  "hsl": {
    "h": 304.906,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.23966,
    "h": 332
  },
  "luminance": 0.16717
}

Semantic roles & 50–950 ramp

primary
#C526B8
secondary
#78CF7F
accent
#EB4B3D
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C526B8

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

Preview Lab → · Contrast checker → · Palette generator →

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