#B27ABC#B27ABC

#B27ABC is a light, moderate purple. Relative luminance 0.270; OKLCH L 66.0% C 0.114 H 321.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B27ABC
RGBrgb(178, 122, 188)
HSLhsl(291, 33%, 61%)
HSVhsv(291, 35%, 74%)
CMYKcmyk(5.3%, 35.1%, 0%, 26.3%)
CIE-LABlab(58.99, 33.08, -26.00)
CIE-LCHlch(58.99, 42.07, 321.83°)
OKLaboklab(65.97% 0.0887 -0.071)
OKLCHoklch(65.97% 0.114 321.3)
XYZxyz(34.3956, 27.0159, 50.9699)
Luminance0.2702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27ABC #84BC7A
analogous
#917ABC #B27ABC #BC7AA5
triadic
#B27ABC #BCB27A #7ABCB2
tetradic
#B27ABC #BC917A #84BC7A #7AA5BC
square
#B27ABC #BC917A #84BC7A #7AA5BC
split-complementary
#B27ABC #A5BC7A #7ABC91
monochromatic
#733F7D #9953A5 #B27ABC #CAA3D1 #E1CBE5

Accessibility & contrast

On white

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

On black

6.40
#B27ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27ABC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27ABC#FFFFFF#000000##000000
##B27ABC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABE
Deuteranopia (green-blind)
#8090BA
Tritanopia (blue-blind)
#B48192
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b27abc;
/* rgb */ color: rgb(178, 122, 188);
/* oklch */ color: oklch(66.0% 0.114 321.3);
Tailwind
colors: {
  custom: {
    50: '#caa1d0',
    500: '#b27abc',
    950: '#000000',
  },
}
SCSS
$custom: #b27abc;
$custom-light: #caa1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b27abc",
  "rgb": {
    "r": 178,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 290.909,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65969,
    "c": 0.11365,
    "h": 321.3
  },
  "luminance": 0.27015
}

Semantic roles & 50–950 ramp

primary
#B27ABC
secondary
#C0D5BC
accent
#AC3A4B
background
#FCFAFC
surface
#F8F3F9
border
#D1CDD2
text
#130F14
muted
#827F82

Preview Lab

Preview with #B27ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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