#B27BBD#B27BBD

#B27BBD is a light, moderate purple. Relative luminance 0.273; OKLCH L 66.2% C 0.113 H 320.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B27BBD
RGBrgb(178, 123, 189)
HSLhsl(290, 33%, 61%)
HSVhsv(290, 35%, 74%)
CMYKcmyk(5.8%, 34.9%, 0%, 25.9%)
CIE-LABlab(59.26, 32.72, -26.16)
CIE-LCHlch(59.26, 41.89, 321.36°)
OKLaboklab(66.18% 0.0875 -0.0715)
OKLCHoklch(66.18% 0.113 320.7)
XYZxyz(34.6272, 27.3060, 51.5808)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27BBD #86BD7B
analogous
#917BBD #B27BBD #BD7BA7
triadic
#B27BBD #BDB27B #7BBDB2
tetradic
#B27BBD #BD917B #86BD7B #7BA7BD
square
#B27BBD #BD917B #86BD7B #7BA7BD
split-complementary
#B27BBD #A7BD7B #7BBD91
monochromatic
#743F7E #9954A7 #B27BBD #CAA4D1 #E2CDE6

Accessibility & contrast

On white

3.25
#B27BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B27BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27BBD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27BBD#FFFFFF#000000##000000
##B27BBD1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC0
Deuteranopia (green-blind)
#8191BB
Tritanopia (blue-blind)
#B38293
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b27bbd;
/* rgb */ color: rgb(178, 123, 189);
/* oklch */ color: oklch(66.2% 0.113 320.7);
Tailwind
colors: {
  custom: {
    50: '#caa2d1',
    500: '#b27bbd',
    950: '#000000',
  },
}
SCSS
$custom: #b27bbd;
$custom-light: #caa2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b27bbd",
  "rgb": {
    "r": 178,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 290,
    "s": 33.333,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.11295,
    "h": 320.7
  },
  "luminance": 0.27305
}

Semantic roles & 50–950 ramp

primary
#B27BBD
secondary
#C2D6BE
accent
#AC394D
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #B27BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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