#B27FBB#B27FBB

#B27FBB is a light, moderate purple. Relative luminance 0.282; OKLCH L 66.8% C 0.103 H 321.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B27FBB
RGBrgb(178, 127, 187)
HSLhsl(291, 31%, 62%)
HSVhsv(291, 32%, 73%)
CMYKcmyk(4.8%, 32.1%, 0%, 26.7%)
CIE-LABlab(60.10, 30.09, -23.73)
CIE-LCHlch(60.10, 38.32, 321.75°)
OKLaboklab(66.8% 0.0808 -0.0646)
OKLCHoklch(66.8% 0.104 321.4)
XYZxyz(34.9180, 28.2326, 50.6141)
Luminance0.2823 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FBB #88BB7F
analogous
#947FBB #B27FBB #BB7FA6
triadic
#B27FBB #BBB27F #7FBBB2
tetradic
#B27FBB #BB947F #88BB7F #7FA6BB
square
#B27FBB #BB947F #88BB7F #7FA6BB
split-complementary
#B27FBB #A6BB7F #7FBB94
monochromatic
#74427D #9958A5 #B27FBB #CAA7D0 #E2CFE5

Accessibility & contrast

On white

3.16
#B27FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B27FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27FBB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FBB#FFFFFF#000000##000000
##B27FBB1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBD
Deuteranopia (green-blind)
#8593B9
Tritanopia (blue-blind)
#B48595
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b27fbb;
/* rgb */ color: rgb(178, 127, 187);
/* oklch */ color: oklch(66.8% 0.103 321.4);
Tailwind
colors: {
  custom: {
    50: '#caa5cf',
    500: '#b27fbb',
    950: '#000000',
  },
}
SCSS
$custom: #b27fbb;
$custom-light: #caa5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fbb",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 291,
    "s": 30.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66797,
    "c": 0.1035,
    "h": 321.4
  },
  "luminance": 0.28232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B27FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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