#C538B6#C538B6

#C538B6 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.5% C 0.221 H 332.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C538B6
RGBrgb(197, 56, 182)
HSLhsl(306, 56%, 50%)
HSVhsv(306, 72%, 77%)
CMYKcmyk(0%, 71.6%, 7.6%, 22.7%)
CIE-LABlab(49.59, 68.29, -36.99)
CIE-LCHlch(49.59, 77.66, 331.56°)
OKLaboklab(59.46% 0.1966 -0.1015)
OKLCHoklch(59.46% 0.221 332.7)
XYZxyz(32.8838, 18.0788, 46.0045)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538B6 #38C547
analogous
#8E38C5 #C538B6 #C53870
triadic
#C538B6 #B6C538 #38B6C5
tetradic
#C538B6 #C58E38 #38C547 #3870C5
square
#C538B6 #C58E38 #38C547 #3870C5
split-complementary
#C538B6 #70C538 #38C58E
monochromatic
#661D5E #952A8A #C538B6 #D467C8 #E196D9

Accessibility & contrast

On white

4.55
#C538B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C538B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538B6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538B6#FFFFFF#000000##000000
##C538B61.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3169B9
Deuteranopia (green-blind)
#667DB3
Tritanopia (blue-blind)
#CE4673
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c538b6;
/* rgb */ color: rgb(197, 56, 182);
/* oklch */ color: oklch(59.5% 0.221 332.7);
Tailwind
colors: {
  custom: {
    50: '#da7ccc',
    500: '#c538b6',
    950: '#000000',
  },
}
SCSS
$custom: #c538b6;
$custom-light: #da7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#c538b6",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 306.383,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59463,
    "c": 0.22128,
    "h": 332.7
  },
  "luminance": 0.18076
}

Semantic roles & 50–950 ramp

primary
#C538B6
secondary
#8CCD93
accent
#DF5949
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C538B6

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

Preview Lab → · Contrast checker → · Palette generator →

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