#B538B0#B538B0

#B538B0 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.208 H 329.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B538B0
RGBrgb(181, 56, 176)
HSLhsl(302, 53%, 46%)
HSVhsv(302, 69%, 71%)
CMYKcmyk(0%, 69.1%, 2.8%, 29%)
CIE-LABlab(46.70, 63.66, -38.21)
CIE-LCHlch(46.70, 74.25, 329.03°)
OKLaboklab(56.78% 0.1797 -0.1054)
OKLCHoklch(56.78% 0.208 329.6)
XYZxyz(28.3065, 15.7888, 42.6225)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B538B0 #38B53D
analogous
#7C38B5 #B538B0 #B53872
triadic
#B538B0 #B0B538 #38B0B5
tetradic
#B538B0 #B57C38 #38B53D #3872B5
square
#B538B0 #B57C38 #38B53D #3872B5
split-complementary
#B538B0 #72B538 #38B57C
monochromatic
#581B55 #862A83 #B538B0 #CD5DC8 #DB8CD8

Accessibility & contrast

On white

5.05
#B538B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B538B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B538B0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B538B0#FFFFFF#000000##FFFFFF
##B538B01.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B3
Deuteranopia (green-blind)
#5B75AD
Tritanopia (blue-blind)
#BB4870
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b538b0;
/* rgb */ color: rgb(181, 56, 176);
/* oklch */ color: oklch(56.8% 0.208 329.6);
Tailwind
colors: {
  custom: {
    50: '#cf7ac8',
    500: '#b538b0',
    950: '#000000',
  },
}
SCSS
$custom: #b538b0;
$custom-light: #cf7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#b538b0",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 302.4,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.20831,
    "h": 329.6
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#B538B0
secondary
#83C686
accent
#DC514C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B538B0

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

Preview Lab → · Contrast checker → · Palette generator →

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