#B438BD#B438BD

#B438BD is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.218 H 325.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B438BD
RGBrgb(180, 56, 189)
HSLhsl(296, 54%, 48%)
HSVhsv(296, 70%, 74%)
CMYKcmyk(4.8%, 70.4%, 0%, 25.9%)
CIE-LABlab(47.25, 65.62, -44.96)
CIE-LCHlch(47.25, 79.54, 325.58°)
OKLaboklab(57.37% 0.1788 -0.125)
OKLCHoklch(57.37% 0.218 325)
XYZxyz(29.4212, 16.2076, 49.7130)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438BD #41BD38
analogous
#7138BD #B438BD #BD3883
triadic
#B438BD #BDB438 #38BDB4
tetradic
#B438BD #BD7138 #41BD38 #3883BD
square
#B438BD #BD7138 #41BD38 #3883BD
split-complementary
#B438BD #83BD38 #38BD71
monochromatic
#5A1C5F #872A8E #B438BD #C962D0 #D991DE

Accessibility & contrast

On white

4.95
#B438BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B438BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438BD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438BD#FFFFFF#000000##FFFFFF
##B438BD1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C1
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#B84E77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b438bd;
/* rgb */ color: rgb(180, 56, 189);
/* oklch */ color: oklch(57.4% 0.218 325.0);
Tailwind
colors: {
  custom: {
    50: '#ce7ad1',
    500: '#b438bd',
    950: '#000000',
  },
}
SCSS
$custom: #b438bd;
$custom-light: #ce7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b438bd",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 295.94,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57371,
    "c": 0.21815,
    "h": 325
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#B438BD
secondary
#8CC987
accent
#DE4A54
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B438BD

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

Preview Lab → · Contrast checker → · Palette generator →

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