#C526B7#C526B7

#C526B7 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.239 H 332.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C526B7
RGBrgb(197, 38, 183)
HSLhsl(305, 68%, 46%)
HSVhsv(305, 81%, 77%)
CMYKcmyk(0%, 80.7%, 7.1%, 22.7%)
CIE-LABlab(47.85, 73.57, -40.32)
CIE-LCHlch(47.85, 83.90, 331.28°)
OKLaboklab(58.23% 0.2116 -0.111)
OKLCHoklch(58.23% 0.239 332.3)
XYZxyz(32.2665, 16.6782, 46.3104)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526B7 #26C534
analogous
#8326C5 #C526B7 #C52667
triadic
#C526B7 #B7C526 #26B7C5
tetradic
#C526B7 #C58326 #26C534 #2667C5
square
#C526B7 #C58326 #26C534 #2667C5
split-complementary
#C526B7 #67C526 #26C583
monochromatic
#5E1258 #921C87 #C526B7 #DC4CD0 #E67FDD

Accessibility & contrast

On white

4.84
#C526B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C526B7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526B7#FFFFFF#000000##FFFFFF
##C526B71.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BB
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#CE3B6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c526b7;
/* rgb */ color: rgb(197, 38, 183);
/* oklch */ color: oklch(58.2% 0.239 332.3);
Tailwind
colors: {
  custom: {
    50: '#db75cd',
    500: '#c526b7',
    950: '#000000',
  },
}
SCSS
$custom: #c526b7;
$custom-light: #db75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c526b7",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 305.283,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58233,
    "c": 0.23899,
    "h": 332.3
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

primary
#C526B7
secondary
#78CF80
accent
#EB4D3D
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C526B7

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

Preview Lab → · Contrast checker → · Palette generator →

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