#B538B3#B538B3

#B538B3 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.211 H 328.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B538B3
RGBrgb(181, 56, 179)
HSLhsl(301, 53%, 46%)
HSVhsv(301, 69%, 71%)
CMYKcmyk(0%, 69.1%, 1.1%, 29%)
CIE-LABlab(46.85, 64.15, -39.72)
CIE-LCHlch(46.85, 75.45, 328.24°)
OKLaboklab(56.94% 0.1798 -0.1098)
OKLCHoklch(56.94% 0.211 328.6)
XYZxyz(28.6066, 15.9088, 44.2031)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B538B3 #38B53A
analogous
#7938B5 #B538B3 #B53875
triadic
#B538B3 #B3B538 #38B3B5
tetradic
#B538B3 #B57938 #38B53A #3875B5
square
#B538B3 #B57938 #38B53A #3875B5
split-complementary
#B538B3 #75B538 #38B579
monochromatic
#581B57 #862A85 #B538B3 #CD5DCB #DB8CDA

Accessibility & contrast

On white

5.02
#B538B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B538B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B538B3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B538B3#FFFFFF#000000##FFFFFF
##B538B31.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B6
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#BB4971
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b538b3;
/* rgb */ color: rgb(181, 56, 179);
/* oklch */ color: oklch(56.9% 0.211 328.6);
Tailwind
colors: {
  custom: {
    50: '#cf7aca',
    500: '#b538b3',
    950: '#000000',
  },
}
SCSS
$custom: #b538b3;
$custom-light: #cf7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#b538b3",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 300.96,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56944,
    "c": 0.21066,
    "h": 328.6
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#B538B3
secondary
#83C684
accent
#DC4E4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B538B3

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

Preview Lab → · Contrast checker → · Palette generator →

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