#B27FAC#B27FAC

#B27FAC is a light, moderate purple. Relative luminance 0.276; OKLCH L 66.2% C 0.088 H 330.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B27FAC
RGBrgb(178, 127, 172)
HSLhsl(307, 25%, 60%)
HSVhsv(307, 29%, 70%)
CMYKcmyk(0%, 28.7%, 3.4%, 30.2%)
CIE-LABlab(59.55, 27.19, -16.02)
CIE-LCHlch(59.55, 31.55, 329.49°)
OKLaboklab(66.2% 0.0765 -0.0431)
OKLCHoklch(66.2% 0.088 330.6)
XYZxyz(33.3953, 27.6235, 42.5945)
Luminance0.2762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FAC #7FB285
analogous
#9F7FB2 #B27FAC #B27F93
triadic
#B27FAC #ACB27F #7FACB2
tetradic
#B27FAC #B29F7F #7FB285 #7F93B2
square
#B27FAC #B29F7F #7FB285 #7F93B2
split-complementary
#B27FAC #93B27F #7FB29F
monochromatic
#72456D #985C91 #B27FAC #C9A5C5 #E0CBDE

Accessibility & contrast

On white

3.22
#B27FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B27FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27FAC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FAC#FFFFFF#000000##000000
##B27FAC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8BAE
Deuteranopia (green-blind)
#8992AA
Tritanopia (blue-blind)
#B6828F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b27fac;
/* rgb */ color: rgb(178, 127, 172);
/* oklch */ color: oklch(66.2% 0.088 330.6);
Tailwind
colors: {
  custom: {
    50: '#c9a4c4',
    500: '#b27fac',
    950: '#000000',
  },
}
SCSS
$custom: #b27fac;
$custom-light: #c9a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fac",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 307.059,
    "s": 24.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66195,
    "c": 0.08777,
    "h": 330.6
  },
  "luminance": 0.27622
}

Semantic roles & 50–950 ramp

primary
#B27FAC
secondary
#BDD0BF
accent
#C17167
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#130F12
muted
#827F81

Preview Lab

Preview with #B27FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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