#C525C2#C525C2

#C525C2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.8% C 0.247 H 329.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C525C2
RGBrgb(197, 37, 194)
HSLhsl(301, 68%, 46%)
HSVhsv(301, 81%, 77%)
CMYKcmyk(0%, 81.2%, 1.5%, 22.7%)
CIE-LABlab(48.37, 75.45, -45.91)
CIE-LCHlch(48.37, 88.32, 328.68°)
OKLaboklab(58.8% 0.2121 -0.1272)
OKLCHoklch(58.8% 0.247 329)
XYZxyz(33.4249, 17.0911, 52.5670)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C525C2 #25C528
analogous
#7825C5 #C525C2 #C52572
triadic
#C525C2 #C2C525 #25C2C5
tetradic
#C525C2 #C57825 #25C528 #2572C5
square
#C525C2 #C57825 #25C528 #2572C5
split-complementary
#C525C2 #72C525 #25C578
monochromatic
#5E125D #911B8F #C525C2 #DD4ADA #E77EE5

Accessibility & contrast

On white

4.75
#C525C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C525C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C525C2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C525C2#FFFFFF#000000##FFFFFF
##C525C21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#CC4175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c525c2;
/* rgb */ color: rgb(197, 37, 194);
/* oklch */ color: oklch(58.8% 0.247 329.0);
Tailwind
colors: {
  custom: {
    50: '#db75d5',
    500: '#c525c2',
    950: '#000000',
  },
}
SCSS
$custom: #c525c2;
$custom-light: #db75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c525c2",
  "rgb": {
    "r": 197,
    "g": 37,
    "b": 194
  },
  "hsl": {
    "h": 301.125,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.24735,
    "h": 329
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

primary
#C525C2
secondary
#77CF78
accent
#EB403D
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C525C2

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

Preview Lab → · Contrast checker → · Palette generator →

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