#C527C2#C527C2

#C527C2 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.9% C 0.246 H 329.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C527C2
RGBrgb(197, 39, 194)
HSLhsl(301, 67%, 46%)
HSVhsv(301, 80%, 77%)
CMYKcmyk(0%, 80.2%, 1.5%, 22.7%)
CIE-LABlab(48.53, 74.98, -45.65)
CIE-LCHlch(48.53, 87.78, 328.67°)
OKLaboklab(58.91% 0.2108 -0.1265)
OKLCHoklch(58.91% 0.246 329)
XYZxyz(33.4888, 17.2190, 52.5883)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C527C2 #27C52A
analogous
#7927C5 #C527C2 #C52773
triadic
#C527C2 #C2C527 #27C2C5
tetradic
#C527C2 #C57927 #27C52A #2773C5
square
#C527C2 #C57927 #27C52A #2773C5
split-complementary
#C527C2 #73C527 #27C579
monochromatic
#5F135D #921D90 #C527C2 #DC4DD9 #E680E4

Accessibility & contrast

On white

4.73
#C527C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C527C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C527C2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C527C2#FFFFFF#000000##FFFFFF
##C527C21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c527c2;
/* rgb */ color: rgb(197, 39, 194);
/* oklch */ color: oklch(58.9% 0.246 329.0);
Tailwind
colors: {
  custom: {
    50: '#db76d5',
    500: '#c527c2',
    950: '#000000',
  },
}
SCSS
$custom: #c527c2;
$custom-light: #db76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c527c2",
  "rgb": {
    "r": 197,
    "g": 39,
    "b": 194
  },
  "hsl": {
    "h": 301.139,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.24584,
    "h": 329
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#C527C2
secondary
#79CF7B
accent
#EA413E
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C527C2

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

Preview Lab → · Contrast checker → · Palette generator →

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