#C538B0#C538B0

#C538B0 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.2% C 0.217 H 334.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C538B0
RGBrgb(197, 56, 176)
HSLhsl(309, 56%, 50%)
HSVhsv(309, 72%, 77%)
CMYKcmyk(0%, 71.6%, 10.7%, 22.7%)
CIE-LABlab(49.30, 67.39, -33.94)
CIE-LCHlch(49.30, 75.45, 333.27°)
OKLaboklab(59.15% 0.1962 -0.0928)
OKLCHoklch(59.15% 0.217 334.7)
XYZxyz(32.2769, 17.8360, 42.8086)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538B0 #38C54D
analogous
#9338C5 #C538B0 #C5386A
triadic
#C538B0 #B0C538 #38B0C5
tetradic
#C538B0 #C59338 #38C54D #386AC5
square
#C538B0 #C59338 #38C54D #386AC5
split-complementary
#C538B0 #6AC538 #38C593
monochromatic
#661D5B #952A85 #C538B0 #D467C3 #E196D6

Accessibility & contrast

On white

4.60
#C538B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C538B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C538B0
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538B0#FFFFFF#000000##FFFFFF
##C538B01.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B3
Deuteranopia (green-blind)
#697DAD
Tritanopia (blue-blind)
#CE4470
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c538b0;
/* rgb */ color: rgb(197, 56, 176);
/* oklch */ color: oklch(59.2% 0.217 334.7);
Tailwind
colors: {
  custom: {
    50: '#da7cc8',
    500: '#c538b0',
    950: '#000000',
  },
}
SCSS
$custom: #c538b0;
$custom-light: #da7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c538b0",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 308.936,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59154,
    "c": 0.217,
    "h": 334.7
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#C538B0
secondary
#8CCD96
accent
#DF5F49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C538B0

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

Preview Lab → · Contrast checker → · Palette generator →

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