#C538C6#C538C6

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

Color values

HEX#C538C6
RGBrgb(197, 56, 198)
HSLhsl(300, 56%, 50%)
HSVhsv(300, 72%, 78%)
CMYKcmyk(0.5%, 71.7%, 0%, 22.4%)
CIE-LABlab(50.43, 70.80, -44.96)
CIE-LCHlch(50.43, 83.87, 327.58°)
OKLaboklab(60.33% 0.1971 -0.1246)
OKLCHoklch(60.33% 0.233 327.7)
XYZxyz(34.6327, 18.7783, 55.2156)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538C6 #39C638
analogous
#7E38C6 #C538C6 #C63880
triadic
#C538C6 #C6C538 #38C6C5
tetradic
#C538C6 #C67E38 #39C638 #3880C6
square
#C538C6 #C67E38 #39C638 #3880C6
split-complementary
#C538C6 #80C638 #38C67E
monochromatic
#661D67 #962B96 #C538C6 #D367D4 #E197E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C538C6#FFFFFF#000000##000000
##C538C61.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B6CCA
Deuteranopia (green-blind)
#5D7EC2
Tritanopia (blue-blind)
#CB4E7C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c538c6;
/* rgb */ color: rgb(197, 56, 198);
/* oklch */ color: oklch(60.3% 0.233 327.7);
Tailwind
colors: {
  custom: {
    50: '#da7cd8',
    500: '#c538c6',
    950: '#000000',
  },
}
SCSS
$custom: #c538c6;
$custom-light: #da7cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c538c6",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 299.577,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.23316,
    "h": 327.7
  },
  "luminance": 0.18776
}

Semantic roles & 50–950 ramp

primary
#C538C6
secondary
#8DCD8D
accent
#DF494A
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C538C6

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

Preview Lab → · Contrast checker → · Palette generator →

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