#C525C1#C525C1

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

Color values

HEX#C525C1
RGBrgb(197, 37, 193)
HSLhsl(302, 68%, 46%)
HSVhsv(302, 81%, 77%)
CMYKcmyk(0%, 81.2%, 2%, 22.7%)
CIE-LABlab(48.32, 75.29, -45.41)
CIE-LCHlch(48.32, 87.93, 328.90°)
OKLaboklab(58.74% 0.2122 -0.1258)
OKLCHoklch(58.74% 0.247 329.3)
XYZxyz(33.3129, 17.0464, 51.9775)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C525C1 #25C529
analogous
#7925C5 #C525C1 #C52571
triadic
#C525C1 #C1C525 #25C1C5
tetradic
#C525C1 #C57925 #25C529 #2571C5
square
#C525C1 #C57925 #25C529 #2571C5
split-complementary
#C525C1 #71C525 #25C579
monochromatic
#5E125C #911B8F #C525C1 #DD4AD9 #E77EE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C525C1#FFFFFF#000000##FFFFFF
##C525C11.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)
#0065C5
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#CC4175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c525c1;
/* rgb */ color: rgb(197, 37, 193);
/* oklch */ color: oklch(58.7% 0.247 329.3);
Tailwind
colors: {
  custom: {
    50: '#db75d4',
    500: '#c525c1',
    950: '#000000',
  },
}
SCSS
$custom: #c525c1;
$custom-light: #db75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c525c1",
  "rgb": {
    "r": 197,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 301.5,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.58741,
    "c": 0.24665,
    "h": 329.3
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#C525C1
secondary
#77CF79
accent
#EB413D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C525C1

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

Preview Lab → · Contrast checker → · Palette generator →

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