#B438A8#B438A8

#B438A8 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.2% C 0.202 H 332.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B438A8
RGBrgb(180, 56, 168)
HSLhsl(306, 53%, 46%)
HSVhsv(306, 69%, 71%)
CMYKcmyk(0%, 68.9%, 6.7%, 29.4%)
CIE-LABlab(46.12, 62.14, -34.39)
CIE-LCHlch(46.12, 71.02, 331.03°)
OKLaboklab(56.2% 0.1782 -0.0944)
OKLCHoklch(56.2% 0.202 332.1)
XYZxyz(27.3045, 15.3610, 38.5651)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438A8 #38B444
analogous
#8238B4 #B438A8 #B4386A
triadic
#B438A8 #A8B438 #38A8B4
tetradic
#B438A8 #B48238 #38B444 #386AB4
square
#B438A8 #B48238 #38B444 #386AB4
split-complementary
#B438A8 #6AB438 #38B482
monochromatic
#571B51 #85297C #B438A8 #CD5DC2 #DB8BD3

Accessibility & contrast

On white

5.16
#B438A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B438A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438A8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438A8#FFFFFF#000000##FFFFFF
##B438A81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#5E73A5
Tritanopia (blue-blind)
#BC456C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b438a8;
/* rgb */ color: rgb(180, 56, 168);
/* oklch */ color: oklch(56.2% 0.202 332.1);
Tailwind
colors: {
  custom: {
    50: '#ce79c2',
    500: '#b438a8',
    950: '#000000',
  },
}
SCSS
$custom: #b438a8;
$custom-light: #ce79c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b438a8",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 168
  },
  "hsl": {
    "h": 305.806,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.20163,
    "h": 332.1
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#B438A8
secondary
#82C589
accent
#DC5A4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B438A8

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

Preview Lab → · Contrast checker → · Palette generator →

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