#B438B9#B438B9

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

Color values

HEX#B438B9
RGBrgb(180, 56, 185)
HSLhsl(298, 54%, 47%)
HSVhsv(298, 70%, 73%)
CMYKcmyk(2.7%, 69.7%, 0%, 27.5%)
CIE-LABlab(47.02, 64.93, -42.98)
CIE-LCHlch(47.02, 77.87, 326.50°)
OKLaboklab(57.14% 0.1788 -0.1193)
OKLCHoklch(57.14% 0.215 326.3)
XYZxyz(28.9930, 16.0364, 47.4578)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438B9 #3DB938
analogous
#7338B9 #B438B9 #B9387E
triadic
#B438B9 #B9B438 #38B9B4
tetradic
#B438B9 #B97338 #3DB938 #387EB9
square
#B438B9 #B97338 #3DB938 #387EB9
split-complementary
#B438B9 #7EB938 #38B973
monochromatic
#591C5B #862A8A #B438B9 #CA5FCF #DA8EDD

Accessibility & contrast

On white

4.99
#B438B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B438B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438B9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438B9#FFFFFF#000000##FFFFFF
##B438B91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C65BD
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#B94C75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b438b9;
/* rgb */ color: rgb(180, 56, 185);
/* oklch */ color: oklch(57.1% 0.215 326.3);
Tailwind
colors: {
  custom: {
    50: '#ce7ace',
    500: '#b438b9',
    950: '#000000',
  },
}
SCSS
$custom: #b438b9;
$custom-light: #ce7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#b438b9",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 297.674,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.21492,
    "h": 326.3
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#B438B9
secondary
#88C885
accent
#DD4B51
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B438B9

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

Preview Lab → · Contrast checker → · Palette generator →

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