#B381BF#B381BF

#B381BF is a light, moderate purple. Relative luminance 0.290; OKLCH L 67.4% C 0.105 H 319.7°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B381BF
RGBrgb(179, 129, 191)
HSLhsl(288, 33%, 63%)
HSVhsv(288, 32%, 75%)
CMYKcmyk(6.3%, 32.5%, 0%, 25.1%)
CIE-LABlab(60.82, 30.11, -24.87)
CIE-LCHlch(60.82, 39.05, 320.44°)
OKLaboklab(67.42% 0.08 -0.0679)
OKLCHoklch(67.42% 0.105 319.7)
XYZxyz(35.8434, 29.0467, 52.9985)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381BF #8DBF81
analogous
#9481BF #B381BF #BF81AC
triadic
#B381BF #BFB381 #81BFB3
tetradic
#B381BF #BF9481 #8DBF81 #81ACBF
square
#B381BF #BF9481 #8DBF81 #81ACBF
split-complementary
#B381BF #ACBF81 #81BF94
monochromatic
#774383 #9B58AA #B381BF #CBAAD4 #E4D2E8

Accessibility & contrast

On white

3.08
#B381BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B381BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B381BF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381BF#FFFFFF#000000##000000
##B381BF1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8FC1
Deuteranopia (green-blind)
#8595BD
Tritanopia (blue-blind)
#B48898
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b381bf;
/* rgb */ color: rgb(179, 129, 191);
/* oklch */ color: oklch(67.4% 0.105 319.7);
Tailwind
colors: {
  custom: {
    50: '#caa6d2',
    500: '#b381bf',
    950: '#000000',
  },
}
SCSS
$custom: #b381bf;
$custom-light: #caa6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b381bf",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 288.387,
    "s": 32.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.67422,
    "c": 0.10493,
    "h": 319.7
  },
  "luminance": 0.29046
}

Semantic roles & 50–950 ramp

primary
#B381BF
secondary
#C7D9C3
accent
#AB3A50
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #B381BF

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

Preview Lab → · Contrast checker → · Palette generator →

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