#C538C0#C538C0

#C538C0 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.0% C 0.229 H 329.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C538C0
RGBrgb(197, 56, 192)
HSLhsl(302, 56%, 50%)
HSVhsv(302, 72%, 77%)
CMYKcmyk(0%, 71.6%, 2.5%, 22.7%)
CIE-LABlab(50.11, 69.84, -42.00)
CIE-LCHlch(50.11, 81.49, 328.98°)
OKLaboklab(60% 0.197 -0.116)
OKLCHoklch(60% 0.229 329.5)
XYZxyz(33.9543, 18.5070, 51.6428)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538C0 #38C53D
analogous
#8438C5 #C538C0 #C53879
triadic
#C538C0 #C0C538 #38C0C5
tetradic
#C538C0 #C58438 #38C53D #3879C5
square
#C538C0 #C58438 #38C53D #3879C5
split-complementary
#C538C0 #79C538 #38C584
monochromatic
#661D63 #952A92 #C538C0 #D467D0 #E196DF

Accessibility & contrast

On white

4.47
#C538C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#C538C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538C0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538C0#FFFFFF#000000##000000
##C538C01.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#256BC4
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#CC4B79
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c538c0;
/* rgb */ color: rgb(197, 56, 192);
/* oklch */ color: oklch(60.0% 0.229 329.5);
Tailwind
colors: {
  custom: {
    50: '#da7cd3',
    500: '#c538c0',
    950: '#000000',
  },
}
SCSS
$custom: #c538c0;
$custom-light: #da7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#c538c0",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 302.128,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.22863,
    "h": 329.5
  },
  "luminance": 0.18504
}

Semantic roles & 50–950 ramp

primary
#C538C0
secondary
#8CCD8E
accent
#DF4E49
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C538C0

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

Preview Lab → · Contrast checker → · Palette generator →

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