#B438AC#B438AC

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

Color values

HEX#B438AC
RGBrgb(180, 56, 172)
HSLhsl(304, 53%, 46%)
HSVhsv(304, 69%, 71%)
CMYKcmyk(0%, 68.9%, 4.4%, 29.4%)
CIE-LABlab(46.33, 62.78, -36.44)
CIE-LCHlch(46.33, 72.59, 329.87°)
OKLaboklab(56.42% 0.1784 -0.1003)
OKLCHoklch(56.42% 0.205 330.6)
XYZxyz(27.6829, 15.5123, 40.5579)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438AC #38B440
analogous
#7E38B4 #B438AC #B4386E
triadic
#B438AC #ACB438 #38ACB4
tetradic
#B438AC #B47E38 #38B440 #386EB4
square
#B438AC #B47E38 #38B440 #386EB4
split-complementary
#B438AC #6EB438 #38B47E
monochromatic
#571B53 #85297F #B438AC #CD5DC5 #DB8BD6

Accessibility & contrast

On white

5.12
#B438AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B438AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438AC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438AC#FFFFFF#000000##FFFFFF
##B438AC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#5C74A9
Tritanopia (blue-blind)
#BB466E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b438ac;
/* rgb */ color: rgb(180, 56, 172);
/* oklch */ color: oklch(56.4% 0.205 330.6);
Tailwind
colors: {
  custom: {
    50: '#ce79c5',
    500: '#b438ac',
    950: '#000000',
  },
}
SCSS
$custom: #b438ac;
$custom-light: #ce79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b438ac",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 303.871,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.20469,
    "h": 330.6
  },
  "luminance": 0.1551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B438AC

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

Preview Lab → · Contrast checker → · Palette generator →

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