#B538BE#B538BE

#B538BE is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.219 H 325.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B538BE
RGBrgb(181, 56, 190)
HSLhsl(296, 54%, 48%)
HSVhsv(296, 71%, 75%)
CMYKcmyk(4.7%, 70.5%, 0%, 25.5%)
CIE-LABlab(47.46, 66.01, -45.19)
CIE-LCHlch(47.46, 80.00, 325.60°)
OKLaboklab(57.57% 0.1798 -0.1257)
OKLCHoklch(57.57% 0.219 325)
XYZxyz(29.7638, 16.3717, 50.2976)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B538BE #41BE38
analogous
#7238BE #B538BE #BE3884
triadic
#B538BE #BEB538 #38BEB5
tetradic
#B538BE #BE7238 #41BE38 #3884BE
square
#B538BE #BE7238 #41BE38 #3884BE
split-complementary
#B538BE #84BE38 #38BE72
monochromatic
#5B1C5F #882A8F #B538BE #C962D1 #DA92DF

Accessibility & contrast

On white

4.91
#B538BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B538BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B538BE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B538BE#FFFFFF#000000##FFFFFF
##B538BE1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C2
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#B94E77
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b538be;
/* rgb */ color: rgb(181, 56, 190);
/* oklch */ color: oklch(57.6% 0.219 325.0);
Tailwind
colors: {
  custom: {
    50: '#cf7ad2',
    500: '#b538be',
    950: '#000000',
  },
}
SCSS
$custom: #b538be;
$custom-light: #cf7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b538be",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 295.97,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.21942,
    "h": 325
  },
  "luminance": 0.1637
}

Semantic roles & 50–950 ramp

primary
#B538BE
secondary
#8CCA88
accent
#DE4A54
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B538BE

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

Preview Lab → · Contrast checker → · Palette generator →

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