#B438B7#B438B7

#B438B7 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.213 H 326.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B438B7
RGBrgb(180, 56, 183)
HSLhsl(299, 53%, 47%)
HSVhsv(299, 69%, 72%)
CMYKcmyk(1.6%, 69.4%, 0%, 28.2%)
CIE-LABlab(46.91, 64.59, -41.99)
CIE-LCHlch(46.91, 77.04, 326.98°)
OKLaboklab(57.02% 0.1788 -0.1164)
OKLCHoklch(57.02% 0.213 326.9)
XYZxyz(28.7833, 15.9525, 46.3537)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438B7 #3BB738
analogous
#7538B7 #B438B7 #B7387A
triadic
#B438B7 #B7B438 #38B7B4
tetradic
#B438B7 #B77538 #3BB738 #387AB7
square
#B438B7 #B77538 #3BB738 #387AB7
split-complementary
#B438B7 #7AB738 #38B775
monochromatic
#581B59 #862A88 #B438B7 #CB5ECE #DA8DDC

Accessibility & contrast

On white

5.01
#B438B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B438B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438B7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438B7#FFFFFF#000000##FFFFFF
##B438B71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BB
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#B94B74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b438b7;
/* rgb */ color: rgb(180, 56, 183);
/* oklch */ color: oklch(57.0% 0.213 326.9);
Tailwind
colors: {
  custom: {
    50: '#ce7acd',
    500: '#b438b7',
    950: '#000000',
  },
}
SCSS
$custom: #b438b7;
$custom-light: #ce7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#b438b7",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 298.583,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.21333,
    "h": 326.9
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#B438B7
secondary
#86C784
accent
#DD4B4F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B438B7

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

Preview Lab → · Contrast checker → · Palette generator →

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