#C538B8#C538B8

#C538B8 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.223 H 332.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C538B8
RGBrgb(197, 56, 184)
HSLhsl(306, 56%, 50%)
HSVhsv(306, 72%, 77%)
CMYKcmyk(0%, 71.6%, 6.6%, 22.7%)
CIE-LABlab(49.69, 68.59, -38.00)
CIE-LCHlch(49.69, 78.41, 331.02°)
OKLaboklab(59.57% 0.1967 -0.1044)
OKLCHoklch(59.57% 0.223 332)
XYZxyz(33.0919, 18.1620, 47.1008)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C538B8 #38C545
analogous
#8C38C5 #C538B8 #C53872
triadic
#C538B8 #B8C538 #38B8C5
tetradic
#C538B8 #C58C38 #38C545 #3872C5
square
#C538B8 #C58C38 #38C545 #3872C5
split-complementary
#C538B8 #72C538 #38C58C
monochromatic
#661D5F #952A8B #C538B8 #D467CA #E196DA

Accessibility & contrast

On white

4.53
#C538B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C538B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C538B8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C538B8#FFFFFF#000000##000000
##C538B81.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BC
Deuteranopia (green-blind)
#657DB5
Tritanopia (blue-blind)
#CD4774
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c538b8;
/* rgb */ color: rgb(197, 56, 184);
/* oklch */ color: oklch(59.6% 0.223 332.0);
Tailwind
colors: {
  custom: {
    50: '#da7cce',
    500: '#c538b8',
    950: '#000000',
  },
}
SCSS
$custom: #c538b8;
$custom-light: #da7cce;
$custom-dark: #000000;
JSON
{
  "hex": "#c538b8",
  "rgb": {
    "r": 197,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 305.532,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.22273,
    "h": 332
  },
  "luminance": 0.18159
}

Semantic roles & 50–950 ramp

primary
#C538B8
secondary
#8CCD92
accent
#DF5749
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C538B8

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

Preview Lab → · Contrast checker → · Palette generator →

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