#C538B7#C538B7

#C538B7 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.5% C 0.222 H 332.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C538B7
RGBrgb(197, 56, 183)
HSLhsl(306, 56%, 50%)
HSVhsv(306, 72%, 77%)
CMYKcmyk(0%, 71.6%, 7.1%, 22.7%)
CIE-LABlab(49.64, 68.44, -37.49)
CIE-LCHlch(49.64, 78.04, 331.29°)
OKLaboklab(59.51% 0.1967 -0.103)
OKLCHoklch(59.51% 0.222 332.4)
XYZxyz(32.9875, 18.1203, 46.5507)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538B7 #38C546
analogous
#8C38C5 #C538B7 #C53871
triadic
#C538B7 #B7C538 #38B7C5
tetradic
#C538B7 #C58C38 #38C546 #3871C5
square
#C538B7 #C58C38 #38C546 #3871C5
split-complementary
#C538B7 #71C538 #38C58C
monochromatic
#661D5E #952A8B #C538B7 #D467C9 #E196DA

Accessibility & contrast

On white

4.54
#C538B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C538B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538B7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538B7#FFFFFF#000000##000000
##C538B71.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3069BB
Deuteranopia (green-blind)
#657DB4
Tritanopia (blue-blind)
#CD4774
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c538b7;
/* rgb */ color: rgb(197, 56, 183);
/* oklch */ color: oklch(59.5% 0.222 332.4);
Tailwind
colors: {
  custom: {
    50: '#da7ccd',
    500: '#c538b7',
    950: '#000000',
  },
}
SCSS
$custom: #c538b7;
$custom-light: #da7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#c538b7",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 305.957,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59515,
    "c": 0.222,
    "h": 332.4
  },
  "luminance": 0.18118
}

Semantic roles & 50–950 ramp

primary
#C538B7
secondary
#8CCD93
accent
#DF5849
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C538B7

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

Preview Lab → · Contrast checker → · Palette generator →

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