#B438A3#B438A3

#B438A3 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.198 H 333.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B438A3
RGBrgb(180, 56, 163)
HSLhsl(308, 53%, 46%)
HSVhsv(308, 69%, 71%)
CMYKcmyk(0%, 68.9%, 9.4%, 29.4%)
CIE-LABlab(45.88, 61.35, -31.81)
CIE-LCHlch(45.88, 69.11, 332.59°)
OKLaboklab(55.94% 0.1777 -0.087)
OKLCHoklch(55.94% 0.198 333.9)
XYZxyz(26.8476, 15.1782, 36.1589)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438A3 #38B449
analogous
#8738B4 #B438A3 #B43865
triadic
#B438A3 #A3B438 #38A3B4
tetradic
#B438A3 #B48738 #38B449 #3865B4
square
#B438A3 #B48738 #38B449 #3865B4
split-complementary
#B438A3 #65B438 #38B487
monochromatic
#571B4E #852979 #B438A3 #CD5DBD #DB8BD0

Accessibility & contrast

On white

5.20
#B438A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B438A3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438A3#FFFFFF#000000##FFFFFF
##B438A31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A6
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#BC4269
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b438a3;
/* rgb */ color: rgb(180, 56, 163);
/* oklch */ color: oklch(55.9% 0.198 333.9);
Tailwind
colors: {
  custom: {
    50: '#ce79be',
    500: '#b438a3',
    950: '#000000',
  },
}
SCSS
$custom: #b438a3;
$custom-light: #ce79be;
$custom-dark: #000000;
JSON
{
  "hex": "#b438a3",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 163
  },
  "hsl": {
    "h": 308.226,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.19788,
    "h": 333.9
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#B438A3
secondary
#82C58C
accent
#DC604C
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B438A3

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

Preview Lab → · Contrast checker → · Palette generator →

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