#C538C1#C538C1

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

Color values

HEX#C538C1
RGBrgb(197, 56, 193)
HSLhsl(302, 56%, 50%)
HSVhsv(302, 72%, 77%)
CMYKcmyk(0%, 71.6%, 2%, 22.7%)
CIE-LABlab(50.16, 70.00, -42.49)
CIE-LCHlch(50.16, 81.89, 328.74°)
OKLaboklab(60.05% 0.197 -0.1174)
OKLCHoklch(60.05% 0.229 329.2)
XYZxyz(34.0655, 18.5515, 52.2283)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538C1 #38C53C
analogous
#8338C5 #C538C1 #C5387B
triadic
#C538C1 #C1C538 #38C1C5
tetradic
#C538C1 #C58338 #38C53C #387BC5
square
#C538C1 #C58338 #38C53C #387BC5
split-complementary
#C538C1 #7BC538 #38C583
monochromatic
#661D64 #952A92 #C538C1 #D467D1 #E196DF

Accessibility & contrast

On white

4.46
#C538C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C538C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538C1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538C1#FFFFFF#000000##000000
##C538C11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#246BC5
Deuteranopia (green-blind)
#607EBD
Tritanopia (blue-blind)
#CC4C79
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c538c1;
/* rgb */ color: rgb(197, 56, 193);
/* oklch */ color: oklch(60.1% 0.229 329.2);
Tailwind
colors: {
  custom: {
    50: '#da7cd4',
    500: '#c538c1',
    950: '#000000',
  },
}
SCSS
$custom: #c538c1;
$custom-light: #da7cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#c538c1",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 301.702,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60054,
    "c": 0.22938,
    "h": 329.2
  },
  "luminance": 0.18549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C538C1

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

Preview Lab → · Contrast checker → · Palette generator →

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