#C527B8#C527B8

#C527B8 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.3% C 0.239 H 332.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C527B8
RGBrgb(197, 39, 184)
HSLhsl(305, 67%, 46%)
HSVhsv(305, 80%, 77%)
CMYKcmyk(0%, 80.2%, 6.6%, 22.7%)
CIE-LABlab(47.99, 73.48, -40.69)
CIE-LCHlch(47.99, 83.99, 331.03°)
OKLaboklab(58.35% 0.2109 -0.1121)
OKLCHoklch(58.35% 0.239 332)
XYZxyz(32.4033, 16.7848, 46.8713)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C527B8 #27C534
analogous
#8327C5 #C527B8 #C52769
triadic
#C527B8 #B8C527 #27B8C5
tetradic
#C527B8 #C58327 #27C534 #2769C5
square
#C527B8 #C58327 #27C534 #2769C5
split-complementary
#C527B8 #69C527 #27C583
monochromatic
#5F1359 #921D88 #C527B8 #DC4DD0 #E680DE

Accessibility & contrast

On white

4.82
#C527B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C527B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C527B8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C527B8#FFFFFF#000000##FFFFFF
##C527B81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1664BC
Deuteranopia (green-blind)
#5F79B4
Tritanopia (blue-blind)
#CD3C70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c527b8;
/* rgb */ color: rgb(197, 39, 184);
/* oklch */ color: oklch(58.3% 0.239 332.0);
Tailwind
colors: {
  custom: {
    50: '#db75ce',
    500: '#c527b8',
    950: '#000000',
  },
}
SCSS
$custom: #c527b8;
$custom-light: #db75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c527b8",
  "rgb": {
    "r": 197,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 304.937,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58347,
    "c": 0.23888,
    "h": 332
  },
  "luminance": 0.16782
}

Semantic roles & 50–950 ramp

primary
#C527B8
secondary
#79CF80
accent
#EA4C3E
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C527B8

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

Preview Lab → · Contrast checker → · Palette generator →

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