#C538C3#C538C3

#C538C3 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.2% C 0.231 H 328.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C538C3
RGBrgb(197, 56, 195)
HSLhsl(301, 56%, 50%)
HSVhsv(301, 72%, 77%)
CMYKcmyk(0%, 71.6%, 1%, 22.7%)
CIE-LABlab(50.26, 70.32, -43.48)
CIE-LCHlch(50.26, 82.68, 328.27°)
OKLaboklab(60.16% 0.1971 -0.1203)
OKLCHoklch(60.16% 0.231 328.6)
XYZxyz(34.2901, 18.6413, 53.4113)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538C3 #38C53A
analogous
#8138C5 #C538C3 #C5387D
triadic
#C538C3 #C3C538 #38C3C5
tetradic
#C538C3 #C58138 #38C53A #387DC5
square
#C538C3 #C58138 #38C53A #387DC5
split-complementary
#C538C3 #7DC538 #38C581
monochromatic
#661D65 #952A94 #C538C3 #D467D2 #E196E0

Accessibility & contrast

On white

4.44
#C538C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C538C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538C3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538C3#FFFFFF#000000##000000
##C538C31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#216CC7
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#CB4D7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c538c3;
/* rgb */ color: rgb(197, 56, 195);
/* oklch */ color: oklch(60.2% 0.231 328.6);
Tailwind
colors: {
  custom: {
    50: '#da7cd6',
    500: '#c538c3',
    950: '#000000',
  },
}
SCSS
$custom: #c538c3;
$custom-light: #da7cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#c538c3",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 300.851,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60164,
    "c": 0.23089,
    "h": 328.6
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#C538C3
secondary
#8CCD8D
accent
#DF4B49
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C538C3

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

Preview Lab → · Contrast checker → · Palette generator →

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