#C538B4#C538B4

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

Color values

HEX#C538B4
RGBrgb(197, 56, 180)
HSLhsl(307, 56%, 50%)
HSVhsv(307, 72%, 77%)
CMYKcmyk(0%, 71.6%, 8.6%, 22.7%)
CIE-LABlab(49.49, 67.98, -35.97)
CIE-LCHlch(49.49, 76.91, 332.11°)
OKLaboklab(59.36% 0.1965 -0.0986)
OKLCHoklch(59.36% 0.22 333.3)
XYZxyz(32.6786, 17.9967, 44.9238)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538B4 #38C549
analogous
#9038C5 #C538B4 #C5386E
triadic
#C538B4 #B4C538 #38B4C5
tetradic
#C538B4 #C59038 #38C549 #386EC5
square
#C538B4 #C59038 #38C549 #386EC5
split-complementary
#C538B4 #6EC538 #38C590
monochromatic
#661D5D #952A88 #C538B4 #D467C7 #E196D8

Accessibility & contrast

On white

4.57
#C538B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C538B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538B4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538B4#FFFFFF#000000##000000
##C538B41.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3369B7
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#CE4672
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c538b4;
/* rgb */ color: rgb(197, 56, 180);
/* oklch */ color: oklch(59.4% 0.220 333.3);
Tailwind
colors: {
  custom: {
    50: '#da7ccb',
    500: '#c538b4',
    950: '#000000',
  },
}
SCSS
$custom: #c538b4;
$custom-light: #da7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#c538b4",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 307.234,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59359,
    "c": 0.21984,
    "h": 333.3
  },
  "luminance": 0.17994
}

Semantic roles & 50–950 ramp

primary
#C538B4
secondary
#8CCD94
accent
#DF5B49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C538B4

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

Preview Lab → · Contrast checker → · Palette generator →

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