#B438A4#B438A4

#B438A4 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 56.0% C 0.199 H 333.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B438A4
RGBrgb(180, 56, 164)
HSLhsl(308, 53%, 46%)
HSVhsv(308, 69%, 71%)
CMYKcmyk(0%, 68.9%, 8.9%, 29.4%)
CIE-LABlab(45.93, 61.51, -32.33)
CIE-LCHlch(45.93, 69.49, 332.27°)
OKLaboklab(55.99% 0.1778 -0.0885)
OKLCHoklch(55.99% 0.199 333.5)
XYZxyz(26.9376, 15.2142, 36.6326)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438A4 #38B448
analogous
#8638B4 #B438A4 #B43866
triadic
#B438A4 #A4B438 #38A4B4
tetradic
#B438A4 #B48638 #38B448 #3866B4
square
#B438A4 #B48638 #38B448 #3866B4
split-complementary
#B438A4 #66B438 #38B486
monochromatic
#571B4F #852979 #B438A4 #CD5DBE #DB8BD1

Accessibility & contrast

On white

5.19
#B438A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B438A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438A4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438A4#FFFFFF#000000##FFFFFF
##B438A41.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#6073A1
Tritanopia (blue-blind)
#BC4369
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b438a4;
/* rgb */ color: rgb(180, 56, 164);
/* oklch */ color: oklch(56.0% 0.199 333.5);
Tailwind
colors: {
  custom: {
    50: '#ce79bf',
    500: '#b438a4',
    950: '#000000',
  },
}
SCSS
$custom: #b438a4;
$custom-light: #ce79bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b438a4",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 164
  },
  "hsl": {
    "h": 307.742,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.19863,
    "h": 333.5
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#B438A4
secondary
#82C58B
accent
#DC5E4C
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B438A4

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

Preview Lab → · Contrast checker → · Palette generator →

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