#B438B3#B438B3

#B438B3 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.210 H 328.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B438B3
RGBrgb(180, 56, 179)
HSLhsl(300, 53%, 46%)
HSVhsv(300, 69%, 71%)
CMYKcmyk(0%, 68.9%, 0.6%, 29.4%)
CIE-LABlab(46.70, 63.92, -39.98)
CIE-LCHlch(46.70, 75.40, 327.98°)
OKLaboklab(56.8% 0.1787 -0.1106)
OKLCHoklch(56.8% 0.21 328.3)
XYZxyz(28.3729, 15.7883, 44.1921)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438B3 #38B439
analogous
#7738B4 #B438B3 #B43875
triadic
#B438B3 #B3B438 #38B3B4
tetradic
#B438B3 #B47738 #38B439 #3875B4
square
#B438B3 #B47738 #38B439 #3875B4
split-complementary
#B438B3 #75B438 #38B477
monochromatic
#571B56 #852985 #B438B3 #CD5DCC #DB8BDA

Accessibility & contrast

On white

5.05
#B438B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B438B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438B3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438B3#FFFFFF#000000##FFFFFF
##B438B31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B6
Deuteranopia (green-blind)
#5974B0
Tritanopia (blue-blind)
#BA4A71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b438b3;
/* rgb */ color: rgb(180, 56, 179);
/* oklch */ color: oklch(56.8% 0.210 328.3);
Tailwind
colors: {
  custom: {
    50: '#ce7aca',
    500: '#b438b3',
    950: '#000000',
  },
}
SCSS
$custom: #b438b3;
$custom-light: #ce7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#b438b3",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 300.484,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56798,
    "c": 0.21015,
    "h": 328.3
  },
  "luminance": 0.15786
}

Semantic roles & 50–950 ramp

primary
#B438B3
secondary
#82C583
accent
#DC4D4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B438B3

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

Preview Lab → · Contrast checker → · Palette generator →

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