#C538C7#C538C7

#C538C7 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.4% C 0.234 H 327.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C538C7
RGBrgb(197, 56, 199)
HSLhsl(299, 56%, 50%)
HSVhsv(299, 72%, 78%)
CMYKcmyk(1%, 71.9%, 0%, 22%)
CIE-LABlab(50.48, 70.96, -45.45)
CIE-LCHlch(50.48, 84.27, 327.36°)
OKLaboklab(60.39% 0.1971 -0.126)
OKLCHoklch(60.39% 0.234 327.4)
XYZxyz(34.7484, 18.8246, 55.8251)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538C7 #3AC738
analogous
#7E38C7 #C538C7 #C73881
triadic
#C538C7 #C7C538 #38C7C5
tetradic
#C538C7 #C77E38 #3AC738 #3881C7
square
#C538C7 #C77E38 #3AC738 #3881C7
split-complementary
#C538C7 #81C738 #38C77E
monochromatic
#661D67 #962B97 #C538C7 #D368D4 #E198E2

Accessibility & contrast

On white

4.41
#C538C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C538C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538C7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538C7#FFFFFF#000000##000000
##C538C71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#196DCB
Deuteranopia (green-blind)
#5D7EC3
Tritanopia (blue-blind)
#CB4F7D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c538c7;
/* rgb */ color: rgb(197, 56, 199);
/* oklch */ color: oklch(60.4% 0.234 327.4);
Tailwind
colors: {
  custom: {
    50: '#da7cd8',
    500: '#c538c7',
    950: '#000000',
  },
}
SCSS
$custom: #c538c7;
$custom-light: #da7cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c538c7",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 299.161,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.60389,
    "c": 0.23391,
    "h": 327.4
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#C538C7
secondary
#8ECD8D
accent
#DF484B
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C538C7

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

Preview Lab → · Contrast checker → · Palette generator →

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