#B438BF#B438BF

#B438BF is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.220 H 324.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B438BF
RGBrgb(180, 56, 191)
HSLhsl(295, 55%, 48%)
HSVhsv(295, 71%, 75%)
CMYKcmyk(5.8%, 70.7%, 0%, 25.1%)
CIE-LABlab(47.36, 65.96, -45.94)
CIE-LCHlch(47.36, 80.39, 325.14°)
OKLaboklab(57.49% 0.1787 -0.1279)
OKLCHoklch(57.49% 0.22 324.4)
XYZxyz(29.6398, 16.2951, 50.8642)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438BF #43BF38
analogous
#7038BF #B438BF #BF3886
triadic
#B438BF #BFB438 #38BFB4
tetradic
#B438BF #BF7038 #43BF38 #3886BF
square
#B438BF #BF7038 #43BF38 #3886BF
split-complementary
#B438BF #86BF38 #38BF70
monochromatic
#5B1C60 #872A90 #B438BF #C863D1 #D992DF

Accessibility & contrast

On white

4.93
#B438BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B438BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438BF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438BF#FFFFFF#000000##FFFFFF
##B438BF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E67C3
Deuteranopia (green-blind)
#5175BC
Tritanopia (blue-blind)
#B84F78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b438bf;
/* rgb */ color: rgb(180, 56, 191);
/* oklch */ color: oklch(57.5% 0.220 324.4);
Tailwind
colors: {
  custom: {
    50: '#ce7ad3',
    500: '#b438bf',
    950: '#000000',
  },
}
SCSS
$custom: #b438bf;
$custom-light: #ce7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b438bf",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 295.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.21977,
    "h": 324.4
  },
  "luminance": 0.16293
}

Semantic roles & 50–950 ramp

primary
#B438BF
secondary
#8ECA89
accent
#DE4A56
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B438BF

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

Preview Lab → · Contrast checker → · Palette generator →

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