#B27AAA#B27AAA

#B27AAA is a light, moderate purple. Relative luminance 0.263; OKLCH L 65.2% C 0.095 H 331.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B27AAA
RGBrgb(178, 122, 170)
HSLhsl(309, 27%, 59%)
HSVhsv(309, 31%, 70%)
CMYKcmyk(0%, 31.5%, 4.5%, 30.2%)
CIE-LABlab(58.31, 29.61, -16.75)
CIE-LCHlch(58.31, 34.02, 330.50°)
OKLaboklab(65.23% 0.0838 -0.045)
OKLCHoklch(65.23% 0.095 331.7)
XYZxyz(32.5749, 26.2876, 41.3805)
Luminance0.2629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27AAA #7AB282
analogous
#9E7AB2 #B27AAA #B27A8E
triadic
#B27AAA #AAB27A #7AAAB2
tetradic
#B27AAA #B29E7A #7AB282 #7A8EB2
square
#B27AAA #B29E7A #7AB282 #7A8EB2
split-complementary
#B27AAA #8EB27A #7AB29E
monochromatic
#70416A #97588E #B27AAA #C8A1C3 #DFC8DC

Accessibility & contrast

On white

3.36
#B27AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B27AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27AAA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27AAA#FFFFFF#000000##000000
##B27AAA1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987AC
Deuteranopia (green-blind)
#868FA8
Tritanopia (blue-blind)
#B77D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b27aaa;
/* rgb */ color: rgb(178, 122, 170);
/* oklch */ color: oklch(65.2% 0.095 331.7);
Tailwind
colors: {
  custom: {
    50: '#caa1c3',
    500: '#b27aaa',
    950: '#000000',
  },
}
SCSS
$custom: #b27aaa;
$custom-light: #caa1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b27aaa",
  "rgb": {
    "r": 178,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 308.571,
    "s": 26.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65228,
    "c": 0.09509,
    "h": 331.7
  },
  "luminance": 0.26286
}

Semantic roles & 50–950 ramp

primary
#B27AAA
secondary
#B9CFBC
accent
#C37265
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130F12
muted
#827E81

Preview Lab

Preview with #B27AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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