#C538BA#C538BA

#C538BA is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.7% C 0.224 H 331.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C538BA
RGBrgb(197, 56, 186)
HSLhsl(305, 56%, 50%)
HSVhsv(305, 72%, 77%)
CMYKcmyk(0%, 71.6%, 5.6%, 22.7%)
CIE-LABlab(49.79, 68.90, -39.00)
CIE-LCHlch(49.79, 79.17, 330.49°)
OKLaboklab(59.67% 0.1968 -0.1073)
OKLCHoklch(59.67% 0.224 331.4)
XYZxyz(33.3030, 18.2465, 48.2128)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538BA #38C543
analogous
#8A38C5 #C538BA #C53874
triadic
#C538BA #BAC538 #38BAC5
tetradic
#C538BA #C58A38 #38C543 #3874C5
square
#C538BA #C58A38 #38C543 #3874C5
split-complementary
#C538BA #74C538 #38C58A
monochromatic
#661D60 #952A8D #C538BA #D467CB #E196DB

Accessibility & contrast

On white

4.52
#C538BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C538BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538BA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538BA#FFFFFF#000000##000000
##C538BA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#647DB7
Tritanopia (blue-blind)
#CD4875
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c538ba;
/* rgb */ color: rgb(197, 56, 186);
/* oklch */ color: oklch(59.7% 0.224 331.4);
Tailwind
colors: {
  custom: {
    50: '#da7ccf',
    500: '#c538ba',
    950: '#000000',
  },
}
SCSS
$custom: #c538ba;
$custom-light: #da7ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#c538ba",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 304.681,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59674,
    "c": 0.22419,
    "h": 331.4
  },
  "luminance": 0.18244
}

Semantic roles & 50–950 ramp

primary
#C538BA
secondary
#8CCD91
accent
#DF5449
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C538BA

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

Preview Lab → · Contrast checker → · Palette generator →

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