#C526B3#C526B3

#C526B3 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.0% C 0.236 H 333.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C526B3
RGBrgb(197, 38, 179)
HSLhsl(307, 68%, 46%)
HSVhsv(307, 81%, 77%)
CMYKcmyk(0%, 80.7%, 9.1%, 22.7%)
CIE-LABlab(47.64, 72.99, -38.30)
CIE-LCHlch(47.64, 82.43, 332.31°)
OKLaboklab(58.02% 0.2116 -0.1052)
OKLCHoklch(58.02% 0.236 333.6)
XYZxyz(31.8560, 16.5141, 44.1489)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526B3 #26C538
analogous
#8726C5 #C526B3 #C52664
triadic
#C526B3 #B3C526 #26B3C5
tetradic
#C526B3 #C58726 #26C538 #2664C5
square
#C526B3 #C58726 #26C538 #2664C5
split-complementary
#C526B3 #64C526 #26C587
monochromatic
#5E1256 #921C84 #C526B3 #DC4CCC #E67FDB

Accessibility & contrast

On white

4.88
#C526B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C526B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C526B3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526B3#FFFFFF#000000##FFFFFF
##C526B31.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E63B7
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#CE396D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c526b3;
/* rgb */ color: rgb(197, 38, 179);
/* oklch */ color: oklch(58.0% 0.236 333.6);
Tailwind
colors: {
  custom: {
    50: '#db75ca',
    500: '#c526b3',
    950: '#000000',
  },
}
SCSS
$custom: #c526b3;
$custom-light: #db75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c526b3",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 306.792,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.23629,
    "h": 333.6
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#C526B3
secondary
#78CF82
accent
#EB513D
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C526B3

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

Preview Lab → · Contrast checker → · Palette generator →

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