#B27FBF#B27FBF

#B27FBF is a light, moderate purple. Relative luminance 0.284; OKLCH L 67.0% C 0.108 H 319.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B27FBF
RGBrgb(178, 127, 191)
HSLhsl(288, 33%, 62%)
HSVhsv(288, 34%, 75%)
CMYKcmyk(6.8%, 33.5%, 0%, 25.1%)
CIE-LABlab(60.25, 30.90, -25.76)
CIE-LCHlch(60.25, 40.23, 320.19°)
OKLaboklab(66.97% 0.0819 -0.0704)
OKLCHoklch(66.97% 0.108 319.3)
XYZxyz(35.3522, 28.4062, 52.9008)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FBF #8CBF7F
analogous
#927FBF #B27FBF #BF7FAC
triadic
#B27FBF #BFB27F #7FBFB2
tetradic
#B27FBF #BF927F #8CBF7F #7FACBF
square
#B27FBF #BF927F #8CBF7F #7FACBF
split-complementary
#B27FBF #ACBF7F #7FBF92
monochromatic
#754182 #9956AB #B27FBF #CBA8D3 #E3D1E8

Accessibility & contrast

On white

3.14
#B27FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#B27FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27FBF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FBF#FFFFFF#000000##000000
##B27FBF1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#778EC1
Deuteranopia (green-blind)
#8393BD
Tritanopia (blue-blind)
#B38696
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b27fbf;
/* rgb */ color: rgb(178, 127, 191);
/* oklch */ color: oklch(67.0% 0.108 319.3);
Tailwind
colors: {
  custom: {
    50: '#caa5d2',
    500: '#b27fbf',
    950: '#000000',
  },
}
SCSS
$custom: #b27fbf;
$custom-light: #caa5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fbf",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 287.813,
    "s": 33.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66966,
    "c": 0.10797,
    "h": 319.3
  },
  "luminance": 0.28405
}

Semantic roles & 50–950 ramp

primary
#B27FBF
secondary
#C6D9C1
accent
#AC3951
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #B27FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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