#C527B6#C527B6

#C527B6 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.2% C 0.238 H 332.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C527B6
RGBrgb(197, 39, 182)
HSLhsl(306, 67%, 46%)
HSVhsv(306, 80%, 77%)
CMYKcmyk(0%, 80.2%, 7.6%, 22.7%)
CIE-LABlab(47.88, 73.19, -39.68)
CIE-LCHlch(47.88, 83.26, 331.53°)
OKLaboklab(58.24% 0.2109 -0.1092)
OKLCHoklch(58.24% 0.238 332.6)
XYZxyz(32.1952, 16.7016, 45.7750)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C527B6 #27C536
analogous
#8527C5 #C527B6 #C52767
triadic
#C527B6 #B6C527 #27B6C5
tetradic
#C527B6 #C58527 #27C536 #2767C5
square
#C527B6 #C58527 #27C536 #2767C5
split-complementary
#C527B6 #67C527 #27C585
monochromatic
#5F1358 #921D87 #C527B6 #DC4DCE #E680DC

Accessibility & contrast

On white

4.84
#C527B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C527B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C527B6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C527B6#FFFFFF#000000##FFFFFF
##C527B61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A64BA
Deuteranopia (green-blind)
#6079B2
Tritanopia (blue-blind)
#CE3B6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c527b6;
/* rgb */ color: rgb(197, 39, 182);
/* oklch */ color: oklch(58.2% 0.238 332.6);
Tailwind
colors: {
  custom: {
    50: '#db75cc',
    500: '#c527b6',
    950: '#000000',
  },
}
SCSS
$custom: #c527b6;
$custom-light: #db75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c527b6",
  "rgb": {
    "r": 197,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 305.696,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58237,
    "c": 0.23752,
    "h": 332.6
  },
  "luminance": 0.16699
}

Semantic roles & 50–950 ramp

primary
#C527B6
secondary
#79CF81
accent
#EA4E3E
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C527B6

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

Preview Lab → · Contrast checker → · Palette generator →

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