#C526B9#C526B9

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

Color values

HEX#C526B9
RGBrgb(197, 38, 185)
HSLhsl(305, 68%, 46%)
HSVhsv(305, 81%, 77%)
CMYKcmyk(0%, 80.7%, 6.1%, 22.7%)
CIE-LABlab(47.96, 73.87, -41.32)
CIE-LCHlch(47.96, 84.64, 330.78°)
OKLaboklab(58.34% 0.2116 -0.1139)
OKLCHoklch(58.34% 0.24 331.7)
XYZxyz(32.4761, 16.7621, 47.4145)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526B9 #26C532
analogous
#8126C5 #C526B9 #C52669
triadic
#C526B9 #B9C526 #26B9C5
tetradic
#C526B9 #C58126 #26C532 #2669C5
square
#C526B9 #C58126 #26C532 #2669C5
split-complementary
#C526B9 #69C526 #26C581
monochromatic
#5E1259 #921C89 #C526B9 #DC4CD2 #E67FDF

Accessibility & contrast

On white

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

On black

4.35
#C526B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C526B9#FFFFFF#000000##FFFFFF
##C526B91.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1264BD
Deuteranopia (green-blind)
#5E79B5
Tritanopia (blue-blind)
#CD3C70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c526b9;
/* rgb */ color: rgb(197, 38, 185);
/* oklch */ color: oklch(58.3% 0.240 331.7);
Tailwind
colors: {
  custom: {
    50: '#db75ce',
    500: '#c526b9',
    950: '#000000',
  },
}
SCSS
$custom: #c526b9;
$custom-light: #db75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c526b9",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 304.528,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.24036,
    "h": 331.7
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#C526B9
secondary
#78CF7F
accent
#EB4A3D
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C526B9

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

Preview Lab → · Contrast checker → · Palette generator →

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