#B027AB#B027AB

#B027AB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.220 H 329.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B027AB
RGBrgb(176, 39, 171)
HSLhsl(302, 64%, 42%)
HSVhsv(302, 78%, 69%)
CMYKcmyk(0%, 77.8%, 2.8%, 31%)
CIE-LABlab(43.69, 67.22, -40.07)
CIE-LCHlch(43.69, 78.25, 329.20°)
OKLaboklab(54.38% 0.19 -0.1108)
OKLCHoklch(54.38% 0.22 329.7)
XYZxyz(25.9806, 13.6235, 39.7814)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B027AB #27B02C
analogous
#7127B0 #B027AB #B02766
triadic
#B027AB #ABB027 #27ABB0
tetradic
#B027AB #B07127 #27B02C #2766B0
square
#B027AB #B07127 #27B02C #2766B0
split-complementary
#B027AB #66B027 #27B071
monochromatic
#4C114A #7E1C7A #B027AB #D540CF #E072DC

Accessibility & contrast

On white

5.64
#B027AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B027AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B027AB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B027AB#FFFFFF#000000##FFFFFF
##B027AB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5CAE
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#B73C68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b027ab;
/* rgb */ color: rgb(176, 39, 171);
/* oklch */ color: oklch(54.4% 0.220 329.7);
Tailwind
colors: {
  custom: {
    50: '#cc72c4',
    500: '#b027ab',
    950: '#000000',
  },
}
SCSS
$custom: #b027ab;
$custom-light: #cc72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b027ab",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 302.19,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54377,
    "c": 0.21993,
    "h": 329.7
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#B027AB
secondary
#6CC76F
accent
#E74741
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B027AB

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

Preview Lab → · Contrast checker → · Palette generator →

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