#B27FA2#B27FA2

#B27FA2 is a light, moderate pink. Relative luminance 0.273; OKLCH L 65.8% C 0.079 H 338.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B27FA2
RGBrgb(178, 127, 162)
HSLhsl(319, 25%, 60%)
HSVhsv(319, 29%, 70%)
CMYKcmyk(0%, 28.7%, 9%, 30.2%)
CIE-LABlab(59.21, 25.36, -10.80)
CIE-LCHlch(59.21, 27.56, 336.93°)
OKLaboklab(65.82% 0.0732 -0.0287)
OKLCHoklch(65.82% 0.079 338.6)
XYZxyz(32.4708, 27.2537, 37.7255)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B27FA2 #7FB28F
analogous
#A97FB2 #B27FA2 #B27F88
triadic
#B27FA2 #A2B27F #7FA2B2
tetradic
#B27FA2 #B2A97F #7FB28F #7F88B2
square
#B27FA2 #B2A97F #7FB28F #7F88B2
split-complementary
#B27FA2 #88B27F #7FB2A9
monochromatic
#724564 #985C85 #B27FA2 #C9A5BE #E0CBDA

Accessibility & contrast

On white

3.26
#B27FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B27FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B27FA2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B27FA2#FFFFFF#000000##000000
##B27FA21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#808AA3
Deuteranopia (green-blind)
#8C91A0
Tritanopia (blue-blind)
#B8808B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b27fa2;
/* rgb */ color: rgb(178, 127, 162);
/* oklch */ color: oklch(65.8% 0.079 338.6);
Tailwind
colors: {
  custom: {
    50: '#c9a4bd',
    500: '#b27fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b27fa2;
$custom-light: #c9a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b27fa2",
  "rgb": {
    "r": 178,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 318.824,
    "s": 24.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65824,
    "c": 0.07866,
    "h": 338.6
  },
  "luminance": 0.27252
}

Semantic roles & 50–950 ramp

primary
#B27FA2
secondary
#BDD0C3
accent
#C18367
background
#FCFAFB
surface
#F8F4F6
border
#D1CED0
text
#130F12
muted
#827F81

Preview Lab

Preview with #B27FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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