#C538B3#C538B3

#C538B3 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.3% C 0.219 H 333.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C538B3
RGBrgb(197, 56, 179)
HSLhsl(308, 56%, 50%)
HSVhsv(308, 72%, 77%)
CMYKcmyk(0%, 71.6%, 9.1%, 22.7%)
CIE-LABlab(49.44, 67.83, -35.47)
CIE-LCHlch(49.44, 76.54, 332.40°)
OKLaboklab(59.31% 0.1964 -0.0971)
OKLCHoklch(59.31% 0.219 333.7)
XYZxyz(32.5771, 17.9561, 44.3892)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538B3 #38C54A
analogous
#9138C5 #C538B3 #C5386C
triadic
#C538B3 #B3C538 #38B3C5
tetradic
#C538B3 #C59138 #38C54A #386CC5
square
#C538B3 #C59138 #38C54A #386CC5
split-complementary
#C538B3 #6CC538 #38C591
monochromatic
#661D5C #952A88 #C538B3 #D467C6 #E196D8

Accessibility & contrast

On white

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

On black

4.59
#C538B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538B3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538B3#FFFFFF#000000##000000
##C538B31.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3468B6
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#CE4572
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c538b3;
/* rgb */ color: rgb(197, 56, 179);
/* oklch */ color: oklch(59.3% 0.219 333.7);
Tailwind
colors: {
  custom: {
    50: '#da7cca',
    500: '#c538b3',
    950: '#000000',
  },
}
SCSS
$custom: #c538b3;
$custom-light: #da7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#c538b3",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 307.66,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59307,
    "c": 0.21911,
    "h": 333.7
  },
  "luminance": 0.17953
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C538B3

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

Preview Lab → · Contrast checker → · Palette generator →

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