#B538BF#B538BF

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

Color values

HEX#B538BF
RGBrgb(181, 56, 191)
HSLhsl(296, 55%, 48%)
HSVhsv(296, 71%, 75%)
CMYKcmyk(5.2%, 70.7%, 0%, 25.1%)
CIE-LABlab(47.52, 66.18, -45.69)
CIE-LCHlch(47.52, 80.42, 325.38°)
OKLaboklab(57.63% 0.1798 -0.1271)
OKLCHoklch(57.63% 0.22 324.7)
XYZxyz(29.8735, 16.4156, 50.8752)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B538BF #42BF38
analogous
#7238BF #B538BF #BF3885
triadic
#B538BF #BFB538 #38BFB5
tetradic
#B538BF #BF7238 #42BF38 #3885BF
square
#B538BF #BF7238 #42BF38 #3885BF
split-complementary
#B538BF #85BF38 #38BF72
monochromatic
#5B1C60 #882A90 #B538BF #C963D1 #D992DF

Accessibility & contrast

On white

4.90
#B538BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B538BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B538BF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B538BF#FFFFFF#000000##FFFFFF
##B538BF1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#5276BC
Tritanopia (blue-blind)
#B94F78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b538bf;
/* rgb */ color: rgb(181, 56, 191);
/* oklch */ color: oklch(57.6% 0.220 324.7);
Tailwind
colors: {
  custom: {
    50: '#cf7ad3',
    500: '#b538bf',
    950: '#000000',
  },
}
SCSS
$custom: #b538bf;
$custom-light: #cf7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b538bf",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 295.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57631,
    "c": 0.22023,
    "h": 324.7
  },
  "luminance": 0.16414
}

Semantic roles & 50–950 ramp

primary
#B538BF
secondary
#8ECA89
accent
#DE4A55
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B538BF

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

Preview Lab → · Contrast checker → · Palette generator →

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