#C538AE#C538AE

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

Color values

HEX#C538AE
RGBrgb(197, 56, 174)
HSLhsl(310, 56%, 50%)
HSVhsv(310, 72%, 77%)
CMYKcmyk(0%, 71.6%, 11.7%, 22.7%)
CIE-LABlab(49.20, 67.09, -32.91)
CIE-LCHlch(49.20, 74.73, 333.87°)
OKLaboklab(59.05% 0.196 -0.0898)
OKLCHoklch(59.05% 0.216 335.4)
XYZxyz(32.0805, 17.7575, 41.7741)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538AE #38C54F
analogous
#9538C5 #C538AE #C53868
triadic
#C538AE #AEC538 #38AEC5
tetradic
#C538AE #C59538 #38C54F #3868C5
square
#C538AE #C59538 #38C54F #3868C5
split-complementary
#C538AE #68C538 #38C595
monochromatic
#661D5A #952A84 #C538AE #D467C2 #E196D5

Accessibility & contrast

On white

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

On black

4.55
#C538AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C538AE#FFFFFF#000000##FFFFFF
##C538AE1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3867B1
Deuteranopia (green-blind)
#697CAB
Tritanopia (blue-blind)
#CF436F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c538ae;
/* rgb */ color: rgb(197, 56, 174);
/* oklch */ color: oklch(59.1% 0.216 335.4);
Tailwind
colors: {
  custom: {
    50: '#da7bc6',
    500: '#c538ae',
    950: '#000000',
  },
}
SCSS
$custom: #c538ae;
$custom-light: #da7bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c538ae",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 309.787,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.21558,
    "h": 335.4
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#C538AE
secondary
#8CCD97
accent
#DF6149
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C538AE

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

Preview Lab → · Contrast checker → · Palette generator →

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