#C526B4#C526B4

#C526B4 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.1% C 0.237 H 333.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C526B4
RGBrgb(197, 38, 180)
HSLhsl(306, 68%, 46%)
HSVhsv(306, 81%, 77%)
CMYKcmyk(0%, 80.7%, 8.6%, 22.7%)
CIE-LABlab(47.69, 73.14, -38.81)
CIE-LCHlch(47.69, 82.80, 332.05°)
OKLaboklab(58.07% 0.2116 -0.1067)
OKLCHoklch(58.07% 0.237 333.2)
XYZxyz(31.9575, 16.5547, 44.6834)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526B4 #26C537
analogous
#8626C5 #C526B4 #C52664
triadic
#C526B4 #B4C526 #26B4C5
tetradic
#C526B4 #C58626 #26C537 #2664C5
square
#C526B4 #C58626 #26C537 #2664C5
split-complementary
#C526B4 #64C526 #26C586
monochromatic
#5E1256 #921C85 #C526B4 #DC4CCD #E67FDB

Accessibility & contrast

On white

4.87
#C526B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C526B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C526B4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526B4#FFFFFF#000000##FFFFFF
##C526B41.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B8
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#CE3A6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c526b4;
/* rgb */ color: rgb(197, 38, 180);
/* oklch */ color: oklch(58.1% 0.237 333.2);
Tailwind
colors: {
  custom: {
    50: '#db75cb',
    500: '#c526b4',
    950: '#000000',
  },
}
SCSS
$custom: #c526b4;
$custom-light: #db75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c526b4",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 306.415,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58069,
    "c": 0.23696,
    "h": 333.2
  },
  "luminance": 0.16552
}

Semantic roles & 50–950 ramp

primary
#C526B4
secondary
#78CF81
accent
#EB503D
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C526B4

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

Preview Lab → · Contrast checker → · Palette generator →

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