#B438B8#B438B8

#B438B8 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.214 H 326.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B438B8
RGBrgb(180, 56, 184)
HSLhsl(298, 53%, 47%)
HSVhsv(298, 70%, 72%)
CMYKcmyk(2.2%, 69.6%, 0%, 27.8%)
CIE-LABlab(46.97, 64.76, -42.48)
CIE-LCHlch(46.97, 77.45, 326.74°)
OKLaboklab(57.08% 0.1788 -0.1178)
OKLCHoklch(57.08% 0.214 326.6)
XYZxyz(28.8878, 15.9943, 46.9038)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438B8 #3CB838
analogous
#7438B8 #B438B8 #B8387C
triadic
#B438B8 #B8B438 #38B8B4
tetradic
#B438B8 #B87438 #3CB838 #387CB8
square
#B438B8 #B87438 #3CB838 #387CB8
split-complementary
#B438B8 #7CB838 #38B874
monochromatic
#581B5A #862A89 #B438B8 #CB5FCE #DA8EDD

Accessibility & contrast

On white

5.00
#B438B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B438B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438B8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438B8#FFFFFF#000000##FFFFFF
##B438B81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E65BC
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#B94C74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b438b8;
/* rgb */ color: rgb(180, 56, 184);
/* oklch */ color: oklch(57.1% 0.214 326.6);
Tailwind
colors: {
  custom: {
    50: '#ce7ace',
    500: '#b438b8',
    950: '#000000',
  },
}
SCSS
$custom: #b438b8;
$custom-light: #ce7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#b438b8",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 298.125,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57081,
    "c": 0.21411,
    "h": 326.6
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#B438B8
secondary
#87C785
accent
#DD4B50
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B438B8

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

Preview Lab → · Contrast checker → · Palette generator →

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