#C538C5#C538C5

#C538C5 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.3% C 0.232 H 328.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C538C5
RGBrgb(197, 56, 197)
HSLhsl(300, 56%, 50%)
HSVhsv(300, 72%, 77%)
CMYKcmyk(0%, 71.6%, 0%, 22.7%)
CIE-LABlab(50.37, 70.64, -44.47)
CIE-LCHlch(50.37, 83.47, 327.81°)
OKLaboklab(60.28% 0.1971 -0.1232)
OKLCHoklch(60.28% 0.232 328)
XYZxyz(34.5177, 18.7324, 54.6102)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538C5 #38C538
analogous
#7F38C5 #C538C5 #C5387F
triadic
#C538C5 #C5C538 #38C5C5
tetradic
#C538C5 #C57F38 #38C538 #387FC5
square
#C538C5 #C57F38 #38C538 #387FC5
split-complementary
#C538C5 #7FC538 #38C57F
monochromatic
#661D66 #952A95 #C538C5 #D467D4 #E196E1

Accessibility & contrast

On white

4.42
#C538C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C538C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538C5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538C5#FFFFFF#000000##000000
##C538C51.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D6CC9
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#CB4E7B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c538c5;
/* rgb */ color: rgb(197, 56, 197);
/* oklch */ color: oklch(60.3% 0.232 328.0);
Tailwind
colors: {
  custom: {
    50: '#da7cd7',
    500: '#c538c5',
    950: '#000000',
  },
}
SCSS
$custom: #c538c5;
$custom-light: #da7cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#c538c5",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 300,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.2324,
    "h": 328
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#C538C5
secondary
#8CCD8C
accent
#DF4949
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C538C5

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

Preview Lab → · Contrast checker → · Palette generator →

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