#C538AF#C538AF

#C538AF is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.216 H 335.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C538AF
RGBrgb(197, 56, 175)
HSLhsl(309, 56%, 50%)
HSVhsv(309, 72%, 77%)
CMYKcmyk(0%, 71.6%, 11.2%, 22.7%)
CIE-LABlab(49.25, 67.24, -33.42)
CIE-LCHlch(49.25, 75.09, 333.57°)
OKLaboklab(59.1% 0.1961 -0.0913)
OKLCHoklch(59.1% 0.216 335)
XYZxyz(32.1784, 17.7966, 42.2895)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538AF #38C54E
analogous
#9538C5 #C538AF #C53868
triadic
#C538AF #AFC538 #38AFC5
tetradic
#C538AF #C59538 #38C54E #3868C5
square
#C538AF #C59538 #38C54E #3868C5
split-complementary
#C538AF #68C538 #38C595
monochromatic
#661D5A #952A85 #C538AF #D467C3 #E196D6

Accessibility & contrast

On white

4.61
#C538AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C538AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C538AF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538AF#FFFFFF#000000##FFFFFF
##C538AF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B2
Deuteranopia (green-blind)
#697CAC
Tritanopia (blue-blind)
#CF436F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c538af;
/* rgb */ color: rgb(197, 56, 175);
/* oklch */ color: oklch(59.1% 0.216 335.0);
Tailwind
colors: {
  custom: {
    50: '#da7cc7',
    500: '#c538af',
    950: '#000000',
  },
}
SCSS
$custom: #c538af;
$custom-light: #da7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c538af",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 309.362,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59104,
    "c": 0.21629,
    "h": 335
  },
  "luminance": 0.17794
}

Semantic roles & 50–950 ramp

primary
#C538AF
secondary
#8CCD96
accent
#DF6049
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C538AF

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

Preview Lab → · Contrast checker → · Palette generator →

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