#C526BE#C526BE

#C526BE is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.6% C 0.244 H 330.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C526BE
RGBrgb(197, 38, 190)
HSLhsl(303, 68%, 46%)
HSVhsv(303, 81%, 77%)
CMYKcmyk(0%, 80.7%, 3.6%, 22.7%)
CIE-LABlab(48.23, 74.61, -43.81)
CIE-LCHlch(48.23, 86.52, 329.58°)
OKLaboklab(58.63% 0.2116 -0.1211)
OKLCHoklch(58.63% 0.244 330.2)
XYZxyz(33.0132, 16.9769, 50.2433)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526BE #26C52D
analogous
#7D26C5 #C526BE #C5266E
triadic
#C526BE #BEC526 #26BEC5
tetradic
#C526BE #C57D26 #26C52D #266EC5
square
#C526BE #C57D26 #26C52D #266EC5
split-complementary
#C526BE #6EC526 #26C57D
monochromatic
#5E125B #921C8D #C526BE #DC4CD6 #E67FE2

Accessibility & contrast

On white

4.78
#C526BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C526BE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526BE#FFFFFF#000000##FFFFFF
##C526BE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#CD3F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c526be;
/* rgb */ color: rgb(197, 38, 190);
/* oklch */ color: oklch(58.6% 0.244 330.2);
Tailwind
colors: {
  custom: {
    50: '#db75d2',
    500: '#c526be',
    950: '#000000',
  },
}
SCSS
$custom: #c526be;
$custom-light: #db75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c526be",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 190
  },
  "hsl": {
    "h": 302.642,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58625,
    "c": 0.24381,
    "h": 330.2
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C526BE

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

Preview Lab → · Contrast checker → · Palette generator →

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