#C526C0#C526C0

#C526C0 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.7% C 0.245 H 329.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C526C0
RGBrgb(197, 38, 192)
HSLhsl(302, 68%, 46%)
HSVhsv(302, 81%, 77%)
CMYKcmyk(0%, 80.7%, 2.5%, 22.7%)
CIE-LABlab(48.34, 74.91, -44.80)
CIE-LCHlch(48.34, 87.28, 329.12°)
OKLaboklab(58.74% 0.2115 -0.124)
OKLCHoklch(58.74% 0.245 329.6)
XYZxyz(33.2333, 17.0650, 51.4025)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526C0 #26C52B
analogous
#7A26C5 #C526C0 #C52670
triadic
#C526C0 #C0C526 #26C0C5
tetradic
#C526C0 #C57A26 #26C52B #2670C5
square
#C526C0 #C57A26 #26C52B #2670C5
split-complementary
#C526C0 #70C526 #26C57A
monochromatic
#5E125C #921C8E #C526C0 #DC4CD8 #E67FE3

Accessibility & contrast

On white

4.76
#C526C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C526C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C526C0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526C0#FFFFFF#000000##FFFFFF
##C526C01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#CC4174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c526c0;
/* rgb */ color: rgb(197, 38, 192);
/* oklch */ color: oklch(58.7% 0.245 329.6);
Tailwind
colors: {
  custom: {
    50: '#db75d3',
    500: '#c526c0',
    950: '#000000',
  },
}
SCSS
$custom: #c526c0;
$custom-light: #db75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c526c0",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 192
  },
  "hsl": {
    "h": 301.887,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5874,
    "c": 0.24521,
    "h": 329.6
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#C526C0
secondary
#78CF7B
accent
#EB433D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C526C0

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

Preview Lab → · Contrast checker → · Palette generator →

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