#B538C0#B538C0

#B538C0 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.221 H 324.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B538C0
RGBrgb(181, 56, 192)
HSLhsl(295, 55%, 49%)
HSVhsv(295, 71%, 75%)
CMYKcmyk(5.7%, 70.8%, 0%, 24.7%)
CIE-LABlab(47.57, 66.35, -46.18)
CIE-LCHlch(47.57, 80.84, 325.17°)
OKLaboklab(57.69% 0.1798 -0.1286)
OKLCHoklch(57.69% 0.221 324.4)
XYZxyz(29.9839, 16.4597, 51.4567)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B538C0 #43C038
analogous
#7138C0 #B538C0 #C03887
triadic
#B538C0 #C0B538 #38C0B5
tetradic
#B538C0 #C07138 #43C038 #3887C0
square
#B538C0 #C07138 #43C038 #3887C0
split-complementary
#B538C0 #87C038 #38C071
monochromatic
#5C1C61 #882A91 #B538C0 #C964D2 #D993DF

Accessibility & contrast

On white

4.89
#B538C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B538C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B538C0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B538C0#FFFFFF#000000##FFFFFF
##B538C01.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D67C4
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#B94F79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b538c0;
/* rgb */ color: rgb(181, 56, 192);
/* oklch */ color: oklch(57.7% 0.221 324.4);
Tailwind
colors: {
  custom: {
    50: '#cf7ad3',
    500: '#b538c0',
    950: '#000000',
  },
}
SCSS
$custom: #b538c0;
$custom-light: #cf7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b538c0",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 295.147,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.22104,
    "h": 324.4
  },
  "luminance": 0.16458
}

Semantic roles & 50–950 ramp

primary
#B538C0
secondary
#8FCB89
accent
#DE4A56
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B538C0

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

Preview Lab → · Contrast checker → · Palette generator →

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