#B387BF#B387BF

#B387BF is a light, moderate purple. Relative luminance 0.307; OKLCH L 68.5% C 0.094 H 318.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B387BF
RGBrgb(179, 135, 191)
HSLhsl(287, 30%, 64%)
HSVhsv(287, 29%, 75%)
CMYKcmyk(6.3%, 29.3%, 0%, 25.1%)
CIE-LABlab(62.23, 26.75, -22.71)
CIE-LCHlch(62.23, 35.09, 319.66°)
OKLaboklab(68.49% 0.0709 -0.0618)
OKLCHoklch(68.49% 0.094 318.9)
XYZxyz(36.6571, 30.6741, 53.2698)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B387BF #93BF87
analogous
#9787BF #B387BF #BF87AF
triadic
#B387BF #BFB387 #87BFB3
tetradic
#B387BF #BF9787 #93BF87 #87AFBF
square
#B387BF #BF9787 #93BF87 #87AFBF
split-complementary
#B387BF #AFBF87 #87BF97
monochromatic
#784785 #9A5FAA #B387BF #CCAFD4 #E6D7EA

Accessibility & contrast

On white

2.94
#B387BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B387BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B387BF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B387BF#FFFFFF#000000##000000
##B387BF1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093C1
Deuteranopia (green-blind)
#8A98BD
Tritanopia (blue-blind)
#B48D9B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b387bf;
/* rgb */ color: rgb(179, 135, 191);
/* oklch */ color: oklch(68.5% 0.094 318.9);
Tailwind
colors: {
  custom: {
    50: '#caaad2',
    500: '#b387bf',
    950: '#000000',
  },
}
SCSS
$custom: #b387bf;
$custom-light: #caaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b387bf",
  "rgb": {
    "r": 179,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 287.143,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68495,
    "c": 0.09405,
    "h": 318.9
  },
  "luminance": 0.30673
}

Semantic roles & 50–950 ramp

primary
#B387BF
secondary
#CBDBC7
accent
#A93C54
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #B387BF

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

Preview Lab → · Contrast checker → · Palette generator →

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