#B438BC#B438BC

#B438BC is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.217 H 325.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B438BC
RGBrgb(180, 56, 188)
HSLhsl(296, 54%, 48%)
HSVhsv(296, 70%, 74%)
CMYKcmyk(4.3%, 70.2%, 0%, 26.3%)
CIE-LABlab(47.19, 65.45, -44.47)
CIE-LCHlch(47.19, 79.12, 325.81°)
OKLaboklab(57.31% 0.1788 -0.1236)
OKLCHoklch(57.31% 0.217 325.3)
XYZxyz(29.3130, 16.1644, 49.1433)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438BC #40BC38
analogous
#7238BC #B438BC #BC3882
triadic
#B438BC #BCB438 #38BCB4
tetradic
#B438BC #BC7238 #40BC38 #3882BC
square
#B438BC #BC7238 #40BC38 #3882BC
split-complementary
#B438BC #82BC38 #38BC72
monochromatic
#5A1C5E #872A8D #B438BC #C961D0 #D990DE

Accessibility & contrast

On white

4.96
#B438BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B438BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438BC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438BC#FFFFFF#000000##FFFFFF
##B438BC1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666C0
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#B84E76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b438bc;
/* rgb */ color: rgb(180, 56, 188);
/* oklch */ color: oklch(57.3% 0.217 325.3);
Tailwind
colors: {
  custom: {
    50: '#ce7ad1',
    500: '#b438bc',
    950: '#000000',
  },
}
SCSS
$custom: #b438bc;
$custom-light: #ce7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b438bc",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 296.364,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57312,
    "c": 0.21734,
    "h": 325.3
  },
  "luminance": 0.16162
}

Semantic roles & 50–950 ramp

primary
#B438BC
secondary
#8BC987
accent
#DD4A53
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B438BC

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

Preview Lab → · Contrast checker → · Palette generator →

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