#B438A5#B438A5

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

Color values

HEX#B438A5
RGBrgb(180, 56, 165)
HSLhsl(307, 53%, 46%)
HSVhsv(307, 69%, 71%)
CMYKcmyk(0%, 68.9%, 8.3%, 29.4%)
CIE-LABlab(45.98, 61.66, -32.85)
CIE-LCHlch(45.98, 69.87, 331.95°)
OKLaboklab(56.05% 0.1779 -0.09)
OKLCHoklch(56.05% 0.199 333.2)
XYZxyz(27.0282, 15.2505, 37.1101)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438A5 #38B447
analogous
#8538B4 #B438A5 #B43867
triadic
#B438A5 #A5B438 #38A5B4
tetradic
#B438A5 #B48538 #38B447 #3867B4
square
#B438A5 #B48538 #38B447 #3867B4
split-complementary
#B438A5 #67B438 #38B485
monochromatic
#571B4F #85297A #B438A5 #CD5DBF #DB8BD1

Accessibility & contrast

On white

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

On black

4.05
#B438A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B438A5#FFFFFF#000000##FFFFFF
##B438A51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A8
Deuteranopia (green-blind)
#6073A2
Tritanopia (blue-blind)
#BC436A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b438a5;
/* rgb */ color: rgb(180, 56, 165);
/* oklch */ color: oklch(56.0% 0.199 333.2);
Tailwind
colors: {
  custom: {
    50: '#ce79c0',
    500: '#b438a5',
    950: '#000000',
  },
}
SCSS
$custom: #b438a5;
$custom-light: #ce79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b438a5",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 307.258,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56045,
    "c": 0.19937,
    "h": 333.2
  },
  "luminance": 0.15248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B438A5

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

Preview Lab → · Contrast checker → · Palette generator →

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