#B27ABD#B27ABD

#B27ABD is a light, moderate purple. Relative luminance 0.271; OKLCH L 66.0% C 0.115 H 320.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B27ABD
RGBrgb(178, 122, 189)
HSLhsl(290, 34%, 61%)
HSVhsv(290, 35%, 74%)
CMYKcmyk(5.8%, 35.4%, 0%, 25.9%)
CIE-LABlab(59.03, 33.28, -26.51)
CIE-LCHlch(59.03, 42.55, 321.46°)
OKLaboklab(66.01% 0.089 -0.0725)
OKLCHoklch(66.01% 0.115 320.8)
XYZxyz(34.5038, 27.0592, 51.5396)
Luminance0.2706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27ABD #85BD7A
analogous
#907ABD #B27ABD #BD7AA6
triadic
#B27ABD #BDB27A #7ABDB2
tetradic
#B27ABD #BD907A #85BD7A #7AA6BD
square
#B27ABD #BD907A #85BD7A #7AA6BD
split-complementary
#B27ABD #A6BD7A #7ABD90
monochromatic
#743F7E #9953A7 #B27ABD #CAA3D1 #E1CCE6

Accessibility & contrast

On white

3.28
#B27ABD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#B27ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27ABD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27ABD#FFFFFF#000000##000000
##B27ABD1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#728AC0
Deuteranopia (green-blind)
#8090BB
Tritanopia (blue-blind)
#B38193
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b27abd;
/* rgb */ color: rgb(178, 122, 189);
/* oklch */ color: oklch(66.0% 0.115 320.8);
Tailwind
colors: {
  custom: {
    50: '#caa1d1',
    500: '#b27abd',
    950: '#000000',
  },
}
SCSS
$custom: #b27abd;
$custom-light: #caa1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b27abd",
  "rgb": {
    "r": 178,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 290.149,
    "s": 33.668,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66012,
    "c": 0.11474,
    "h": 320.8
  },
  "luminance": 0.27058
}

Semantic roles & 50–950 ramp

primary
#B27ABD
secondary
#C1D6BD
accent
#AC394C
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #B27ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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