#C538BF#C538BF

#C538BF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.9% C 0.228 H 329.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C538BF
RGBrgb(197, 56, 191)
HSLhsl(303, 56%, 50%)
HSVhsv(303, 72%, 77%)
CMYKcmyk(0%, 71.6%, 3%, 22.7%)
CIE-LABlab(50.05, 69.68, -41.50)
CIE-LCHlch(50.05, 81.10, 329.22°)
OKLaboklab(59.94% 0.197 -0.1146)
OKLCHoklch(59.94% 0.228 329.8)
XYZxyz(33.8439, 18.4628, 51.0613)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538BF #38C53E
analogous
#8438C5 #C538BF #C53879
triadic
#C538BF #BFC538 #38BFC5
tetradic
#C538BF #C58438 #38C53E #3879C5
square
#C538BF #C58438 #38C53E #3879C5
split-complementary
#C538BF #79C538 #38C584
monochromatic
#661D63 #952A91 #C538BF #D467CF #E196DE

Accessibility & contrast

On white

4.48
#C538BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C538BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538BF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538BF#FFFFFF#000000##000000
##C538BF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#617EBB
Tritanopia (blue-blind)
#CC4B78
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c538bf;
/* rgb */ color: rgb(197, 56, 191);
/* oklch */ color: oklch(59.9% 0.228 329.8);
Tailwind
colors: {
  custom: {
    50: '#da7cd3',
    500: '#c538bf',
    950: '#000000',
  },
}
SCSS
$custom: #c538bf;
$custom-light: #da7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#c538bf",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 302.553,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59944,
    "c": 0.22788,
    "h": 329.8
  },
  "luminance": 0.1846
}

Semantic roles & 50–950 ramp

primary
#C538BF
secondary
#8CCD8F
accent
#DF4F49
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C538BF

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

Preview Lab → · Contrast checker → · Palette generator →

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