#C526C5#C526C5

#C526C5 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.0% C 0.249 H 328.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C526C5
RGBrgb(197, 38, 197)
HSLhsl(300, 68%, 46%)
HSVhsv(300, 81%, 77%)
CMYKcmyk(0%, 80.7%, 0%, 22.7%)
CIE-LABlab(48.62, 75.68, -47.25)
CIE-LCHlch(48.62, 89.22, 328.02°)
OKLaboklab(59.03% 0.2113 -0.1312)
OKLCHoklch(59.03% 0.249 328.2)
XYZxyz(33.7967, 17.2903, 54.3698)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C526C5 #26C526
analogous
#7526C5 #C526C5 #C52675
triadic
#C526C5 #C5C526 #26C5C5
tetradic
#C526C5 #C57526 #26C526 #2675C5
square
#C526C5 #C57526 #26C526 #2675C5
split-complementary
#C526C5 #75C526 #26C575
monochromatic
#5E125E #921C92 #C526C5 #DC4CDC #E67FE6

Accessibility & contrast

On white

4.71
#C526C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C526C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C526C5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C526C5#FFFFFF#000000##FFFFFF
##C526C51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#CB4377
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c526c5;
/* rgb */ color: rgb(197, 38, 197);
/* oklch */ color: oklch(59.0% 0.249 328.2);
Tailwind
colors: {
  custom: {
    50: '#db76d7',
    500: '#c526c5',
    950: '#000000',
  },
}
SCSS
$custom: #c526c5;
$custom-light: #db76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c526c5",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 300,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5903,
    "c": 0.24871,
    "h": 328.2
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#C526C5
secondary
#78CF78
accent
#EB3D3D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C526C5

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

Preview Lab → · Contrast checker → · Palette generator →

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