#C538BB#C538BB

#C538BB is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.7% C 0.225 H 331.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C538BB
RGBrgb(197, 56, 187)
HSLhsl(304, 56%, 50%)
HSVhsv(304, 72%, 77%)
CMYKcmyk(0%, 71.6%, 5.1%, 22.7%)
CIE-LABlab(49.84, 69.06, -39.50)
CIE-LCHlch(49.84, 79.56, 330.23°)
OKLaboklab(59.73% 0.1969 -0.1088)
OKLCHoklch(59.73% 0.225 331.1)
XYZxyz(33.4097, 18.2892, 48.7746)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538BB #38C542
analogous
#8838C5 #C538BB #C53875
triadic
#C538BB #BBC538 #38BBC5
tetradic
#C538BB #C58838 #38C542 #3875C5
square
#C538BB #C58838 #38C542 #3875C5
split-complementary
#C538BB #75C538 #38C588
monochromatic
#661D61 #952A8E #C538BB #D467CC #E196DC

Accessibility & contrast

On white

4.51
#C538BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C538BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538BB#FFFFFF#000000##000000
##C538BB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABF
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#CD4976
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c538bb;
/* rgb */ color: rgb(197, 56, 187);
/* oklch */ color: oklch(59.7% 0.225 331.1);
Tailwind
colors: {
  custom: {
    50: '#da7cd0',
    500: '#c538bb',
    950: '#000000',
  },
}
SCSS
$custom: #c538bb;
$custom-light: #da7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#c538bb",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 304.255,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.22492,
    "h": 331.1
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C538BB

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

Preview Lab → · Contrast checker → · Palette generator →

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