#B381BC#B381BC

#B381BC is a light, moderate purple. Relative luminance 0.289; OKLCH L 67.3% C 0.102 H 321.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B381BC
RGBrgb(179, 129, 188)
HSLhsl(291, 31%, 62%)
HSVhsv(291, 31%, 74%)
CMYKcmyk(4.8%, 31.4%, 0%, 26.3%)
CIE-LABlab(60.71, 29.50, -23.35)
CIE-LCHlch(60.71, 37.62, 321.64°)
OKLaboklab(67.3% 0.0792 -0.0636)
OKLCHoklch(67.3% 0.102 321.3)
XYZxyz(35.5166, 28.9160, 51.2776)
Luminance0.2892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B381BC #8ABC81
analogous
#9581BC #B381BC #BC81A8
triadic
#B381BC #BCB381 #81BCB3
tetradic
#B381BC #BC9581 #8ABC81 #81A8BC
square
#B381BC #BC9581 #8ABC81 #81A8BC
split-complementary
#B381BC #A8BC81 #81BC95
monochromatic
#76447F #9B59A7 #B381BC #CBA9D1 #E3D1E6

Accessibility & contrast

On white

3.10
#B381BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B381BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B381BC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B381BC#FFFFFF#000000##000000
##B381BC1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8FBE
Deuteranopia (green-blind)
#8694BA
Tritanopia (blue-blind)
#B48796
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b381bc;
/* rgb */ color: rgb(179, 129, 188);
/* oklch */ color: oklch(67.3% 0.102 321.3);
Tailwind
colors: {
  custom: {
    50: '#caa6d0',
    500: '#b381bc',
    950: '#000000',
  },
}
SCSS
$custom: #b381bc;
$custom-light: #caa6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b381bc",
  "rgb": {
    "r": 179,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 290.847,
    "s": 30.57,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67296,
    "c": 0.10158,
    "h": 321.3
  },
  "luminance": 0.28915
}

Semantic roles & 50–950 ramp

primary
#B381BC
secondary
#C5D7C2
accent
#A93C4D
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #B381BC

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

Preview Lab → · Contrast checker → · Palette generator →

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