#C538BD#C538BD

#C538BD is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.226 H 330.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C538BD
RGBrgb(197, 56, 189)
HSLhsl(303, 56%, 50%)
HSVhsv(303, 72%, 77%)
CMYKcmyk(0%, 71.6%, 4.1%, 22.7%)
CIE-LABlab(49.95, 69.37, -40.50)
CIE-LCHlch(49.95, 80.33, 329.72°)
OKLaboklab(59.84% 0.1969 -0.1117)
OKLCHoklch(59.84% 0.226 330.4)
XYZxyz(33.6253, 18.3754, 49.9100)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538BD #38C540
analogous
#8638C5 #C538BD #C53877
triadic
#C538BD #BDC538 #38BDC5
tetradic
#C538BD #C58638 #38C540 #3877C5
square
#C538BD #C58638 #38C540 #3877C5
split-complementary
#C538BD #77C538 #38C586
monochromatic
#661D62 #952A8F #C538BD #D467CD #E196DD

Accessibility & contrast

On white

4.49
#C538BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#C538BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538BD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538BD#FFFFFF#000000##000000
##C538BD1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#296AC1
Deuteranopia (green-blind)
#627EBA
Tritanopia (blue-blind)
#CC4A77
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c538bd;
/* rgb */ color: rgb(197, 56, 189);
/* oklch */ color: oklch(59.8% 0.226 330.4);
Tailwind
colors: {
  custom: {
    50: '#da7cd1',
    500: '#c538bd',
    950: '#000000',
  },
}
SCSS
$custom: #c538bd;
$custom-light: #da7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c538bd",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 303.404,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59835,
    "c": 0.2264,
    "h": 330.4
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#C538BD
secondary
#8CCD90
accent
#DF5149
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C538BD

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

Preview Lab → · Contrast checker → · Palette generator →

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