#B538DA#B538DA

#B538DA is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.3% C 0.243 H 317.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B538DA
RGBrgb(181, 56, 218)
HSLhsl(286, 69%, 54%)
HSVhsv(286, 74%, 85%)
CMYKcmyk(17%, 74.3%, 0%, 14.5%)
CIE-LABlab(49.15, 71.04, -58.62)
CIE-LCHlch(49.15, 92.11, 320.47°)
OKLaboklab(59.32% 0.1779 -0.165)
OKLCHoklch(59.32% 0.243 317.2)
XYZxyz(33.1232, 17.7155, 67.9907)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B538DA #5DDA38
analogous
#6438DA #B538DA #DA38AE
triadic
#B538DA #DAB538 #38DAB5
tetradic
#B538DA #DA6438 #5DDA38 #38AEDA
square
#B538DA #DA6438 #5DDA38 #38AEDA
split-complementary
#B538DA #AEDA38 #38DA64
monochromatic
#681880 #9221B3 #B538DA #C86CE4 #DB9FED

Accessibility & contrast

On white

4.62
#B538DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B538DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B538DA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B538DA#FFFFFF#000000##FFFFFF
##B538DA1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#3B78D6
Tritanopia (blue-blind)
#B35B87
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b538da;
/* rgb */ color: rgb(181, 56, 218);
/* oklch */ color: oklch(59.3% 0.243 317.2);
Tailwind
colors: {
  custom: {
    50: '#d07be6',
    500: '#b538da',
    950: '#000000',
  },
}
SCSS
$custom: #b538da;
$custom-light: #d07be6;
$custom-dark: #000000;
JSON
{
  "hex": "#b538da",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 218
  },
  "hsl": {
    "h": 286.296,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59317,
    "c": 0.2426,
    "h": 317.2
  },
  "luminance": 0.17714
}

Semantic roles & 50–950 ramp

primary
#B538DA
secondary
#A4DA94
accent
#EB3C64
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B538DA

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

Preview Lab → · Contrast checker → · Palette generator →

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