#B438B4#B438B4

#B438B4 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.211 H 327.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B438B4
RGBrgb(180, 56, 180)
HSLhsl(300, 53%, 46%)
HSVhsv(300, 69%, 71%)
CMYKcmyk(0%, 68.9%, 0%, 29.4%)
CIE-LABlab(46.75, 64.09, -40.48)
CIE-LCHlch(46.75, 75.81, 327.72°)
OKLaboklab(56.85% 0.1787 -0.112)
OKLCHoklch(56.85% 0.211 327.9)
XYZxyz(28.4744, 15.8289, 44.7267)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438B4 #38B438
analogous
#7638B4 #B438B4 #B43876
triadic
#B438B4 #B4B438 #38B4B4
tetradic
#B438B4 #B47638 #38B438 #3876B4
square
#B438B4 #B47638 #38B438 #3876B4
split-complementary
#B438B4 #76B438 #38B476
monochromatic
#571B57 #852985 #B438B4 #CD5DCD #DB8BDB

Accessibility & contrast

On white

5.04
#B438B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B438B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438B4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438B4#FFFFFF#000000##FFFFFF
##B438B41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B8
Deuteranopia (green-blind)
#5874B1
Tritanopia (blue-blind)
#BA4A72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b438b4;
/* rgb */ color: rgb(180, 56, 180);
/* oklch */ color: oklch(56.9% 0.211 327.9);
Tailwind
colors: {
  custom: {
    50: '#ce7acb',
    500: '#b438b4',
    950: '#000000',
  },
}
SCSS
$custom: #b438b4;
$custom-light: #ce7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#b438b4",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 300,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.21094,
    "h": 327.9
  },
  "luminance": 0.15827
}

Semantic roles & 50–950 ramp

primary
#B438B4
secondary
#82C582
accent
#DC4C4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B438B4

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

Preview Lab → · Contrast checker → · Palette generator →

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