#C526BD#C526BD

#C526BD is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.6% C 0.243 H 330.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C526BD
RGBrgb(197, 38, 189)
HSLhsl(303, 68%, 46%)
HSVhsv(303, 81%, 77%)
CMYKcmyk(0%, 80.7%, 4.1%, 22.7%)
CIE-LABlab(48.18, 74.46, -43.31)
CIE-LCHlch(48.18, 86.14, 329.81°)
OKLaboklab(58.57% 0.2116 -0.1197)
OKLCHoklch(58.57% 0.243 330.5)
XYZxyz(32.9043, 16.9334, 49.6697)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526BD #26C52E
analogous
#7D26C5 #C526BD #C5266D
triadic
#C526BD #BDC526 #26BDC5
tetradic
#C526BD #C57D26 #26C52E #266DC5
square
#C526BD #C57D26 #26C52E #266DC5
split-complementary
#C526BD #6DC526 #26C57D
monochromatic
#5E125B #921C8C #C526BD #DC4CD5 #E67FE1

Accessibility & contrast

On white

4.79
#C526BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C526BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C526BD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526BD#FFFFFF#000000##FFFFFF
##C526BD1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0465C1
Deuteranopia (green-blind)
#5B7AB9
Tritanopia (blue-blind)
#CD3F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c526bd;
/* rgb */ color: rgb(197, 38, 189);
/* oklch */ color: oklch(58.6% 0.243 330.5);
Tailwind
colors: {
  custom: {
    50: '#db75d1',
    500: '#c526bd',
    950: '#000000',
  },
}
SCSS
$custom: #c526bd;
$custom-light: #db75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c526bd",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 303.019,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58568,
    "c": 0.24312,
    "h": 330.5
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

primary
#C526BD
secondary
#78CF7C
accent
#EB463D
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C526BD

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

Preview Lab → · Contrast checker → · Palette generator →

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