#C538B5#C538B5

#C538B5 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.4% C 0.221 H 333.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C538B5
RGBrgb(197, 56, 181)
HSLhsl(307, 56%, 50%)
HSVhsv(307, 72%, 77%)
CMYKcmyk(0%, 71.6%, 8.1%, 22.7%)
CIE-LABlab(49.54, 68.13, -36.48)
CIE-LCHlch(49.54, 77.29, 331.83°)
OKLaboklab(59.41% 0.1965 -0.1001)
OKLCHoklch(59.41% 0.221 333)
XYZxyz(32.7808, 18.0376, 45.4622)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538B5 #38C548
analogous
#8F38C5 #C538B5 #C5386E
triadic
#C538B5 #B5C538 #38B5C5
tetradic
#C538B5 #C58F38 #38C548 #386EC5
square
#C538B5 #C58F38 #38C548 #386EC5
split-complementary
#C538B5 #6EC538 #38C58F
monochromatic
#661D5D #952A89 #C538B5 #D467C7 #E196D9

Accessibility & contrast

On white

4.56
#C538B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C538B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538B5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538B5#FFFFFF#000000##000000
##C538B51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3269B8
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#CE4673
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c538b5;
/* rgb */ color: rgb(197, 56, 181);
/* oklch */ color: oklch(59.4% 0.221 333.0);
Tailwind
colors: {
  custom: {
    50: '#da7ccb',
    500: '#c538b5',
    950: '#000000',
  },
}
SCSS
$custom: #c538b5;
$custom-light: #da7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#c538b5",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 306.809,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59411,
    "c": 0.22055,
    "h": 333
  },
  "luminance": 0.18035
}

Semantic roles & 50–950 ramp

primary
#C538B5
secondary
#8CCD93
accent
#DF5A49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C538B5

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

Preview Lab → · Contrast checker → · Palette generator →

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