#B438AB#B438AB

#B438AB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.204 H 331.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B438AB
RGBrgb(180, 56, 171)
HSLhsl(304, 53%, 46%)
HSVhsv(304, 69%, 71%)
CMYKcmyk(0%, 68.9%, 5%, 29.4%)
CIE-LABlab(46.28, 62.62, -35.93)
CIE-LCHlch(46.28, 72.19, 330.15°)
OKLaboklab(56.36% 0.1784 -0.0989)
OKLCHoklch(56.36% 0.204 331)
XYZxyz(27.5872, 15.4740, 40.0540)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438AB #38B441
analogous
#7F38B4 #B438AB #B4386D
triadic
#B438AB #ABB438 #38ABB4
tetradic
#B438AB #B47F38 #38B441 #386DB4
square
#B438AB #B47F38 #38B441 #386DB4
split-complementary
#B438AB #6DB438 #38B47F
monochromatic
#571B52 #85297F #B438AB #CD5DC4 #DB8BD5

Accessibility & contrast

On white

5.13
#B438AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B438AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438AB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438AB#FFFFFF#000000##FFFFFF
##B438AB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AE
Deuteranopia (green-blind)
#5D74A8
Tritanopia (blue-blind)
#BB466D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b438ab;
/* rgb */ color: rgb(180, 56, 171);
/* oklch */ color: oklch(56.4% 0.204 331.0);
Tailwind
colors: {
  custom: {
    50: '#ce79c4',
    500: '#b438ab',
    950: '#000000',
  },
}
SCSS
$custom: #b438ab;
$custom-light: #ce79c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b438ab",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 304.355,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.20392,
    "h": 331
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#B438AB
secondary
#82C587
accent
#DC564C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B438AB

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

Preview Lab → · Contrast checker → · Palette generator →

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