#B538AF#B538AF

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

Color values

HEX#B538AF
RGBrgb(181, 56, 175)
HSLhsl(303, 53%, 46%)
HSVhsv(303, 69%, 71%)
CMYKcmyk(0%, 69.1%, 3.3%, 29%)
CIE-LABlab(46.64, 63.50, -37.70)
CIE-LCHlch(46.64, 73.85, 329.30°)
OKLaboklab(56.72% 0.1796 -0.1039)
OKLCHoklch(56.72% 0.208 329.9)
XYZxyz(28.2079, 15.7494, 42.1034)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B538AF #38B53E
analogous
#7D38B5 #B538AF #B53871
triadic
#B538AF #AFB538 #38AFB5
tetradic
#B538AF #B57D38 #38B53E #3871B5
square
#B538AF #B57D38 #38B53E #3871B5
split-complementary
#B538AF #71B538 #38B57D
monochromatic
#581B55 #862A82 #B538AF #CD5DC8 #DB8CD8

Accessibility & contrast

On white

5.06
#B538AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B538AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B538AF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B538AF#FFFFFF#000000##FFFFFF
##B538AF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#BC476F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b538af;
/* rgb */ color: rgb(181, 56, 175);
/* oklch */ color: oklch(56.7% 0.208 329.9);
Tailwind
colors: {
  custom: {
    50: '#cf7ac7',
    500: '#b538af',
    950: '#000000',
  },
}
SCSS
$custom: #b538af;
$custom-light: #cf7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#b538af",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 302.88,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.20754,
    "h": 329.9
  },
  "luminance": 0.15747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B538AF

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

Preview Lab → · Contrast checker → · Palette generator →

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