#B438B2#B438B2

#B438B2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.209 H 328.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B438B2
RGBrgb(180, 56, 178)
HSLhsl(301, 53%, 46%)
HSVhsv(301, 69%, 71%)
CMYKcmyk(0%, 68.9%, 1.1%, 29.4%)
CIE-LABlab(46.64, 63.76, -39.48)
CIE-LCHlch(46.64, 74.99, 328.23°)
OKLaboklab(56.74% 0.1787 -0.1091)
OKLCHoklch(56.74% 0.209 328.6)
XYZxyz(28.2721, 15.7480, 43.6614)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B438B2 #38B43A
analogous
#7838B4 #B438B2 #B43874
triadic
#B438B2 #B2B438 #38B2B4
tetradic
#B438B2 #B47838 #38B43A #3874B4
square
#B438B2 #B47838 #38B43A #3874B4
split-complementary
#B438B2 #74B438 #38B478
monochromatic
#571B56 #852984 #B438B2 #CD5DCB #DB8BDA

Accessibility & contrast

On white

5.06
#B438B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B438B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B438B2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B438B2#FFFFFF#000000##FFFFFF
##B438B21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#5974AF
Tritanopia (blue-blind)
#BA4971
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b438b2;
/* rgb */ color: rgb(180, 56, 178);
/* oklch */ color: oklch(56.7% 0.209 328.6);
Tailwind
colors: {
  custom: {
    50: '#ce7ac9',
    500: '#b438b2',
    950: '#000000',
  },
}
SCSS
$custom: #b438b2;
$custom-light: #ce7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#b438b2",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 300.968,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.20936,
    "h": 328.6
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B438B2

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

Preview Lab → · Contrast checker → · Palette generator →

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