#B538AE#B538AE

#B538AE is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.207 H 330.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B538AE
RGBrgb(181, 56, 174)
HSLhsl(303, 53%, 46%)
HSVhsv(303, 69%, 71%)
CMYKcmyk(0%, 69.1%, 3.9%, 29%)
CIE-LABlab(46.59, 63.34, -37.19)
CIE-LCHlch(46.59, 73.45, 329.58°)
OKLaboklab(56.67% 0.1796 -0.1025)
OKLCHoklch(56.67% 0.207 330.3)
XYZxyz(28.1101, 15.7102, 41.5880)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B538AE #38B53F
analogous
#7E38B5 #B538AE #B53870
triadic
#B538AE #AEB538 #38AEB5
tetradic
#B538AE #B57E38 #38B53F #3870B5
square
#B538AE #B57E38 #38B53F #3870B5
split-complementary
#B538AE #70B538 #38B57E
monochromatic
#581B54 #862A81 #B538AE #CD5DC7 #DB8CD7

Accessibility & contrast

On white

5.07
#B538AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B538AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B538AE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B538AE#FFFFFF#000000##FFFFFF
##B538AE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#BC476F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b538ae;
/* rgb */ color: rgb(181, 56, 174);
/* oklch */ color: oklch(56.7% 0.207 330.3);
Tailwind
colors: {
  custom: {
    50: '#cf7ac6',
    500: '#b538ae',
    950: '#000000',
  },
}
SCSS
$custom: #b538ae;
$custom-light: #cf7ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#b538ae",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 303.36,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5667,
    "c": 0.20677,
    "h": 330.3
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#B538AE
secondary
#83C687
accent
#DC544C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B538AE

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

Preview Lab → · Contrast checker → · Palette generator →

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