#B127AE#B127AE

#B127AE is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.223 H 329.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B127AE
RGBrgb(177, 39, 174)
HSLhsl(301, 64%, 42%)
HSVhsv(301, 78%, 69%)
CMYKcmyk(0%, 78%, 1.7%, 30.6%)
CIE-LABlab(44.03, 67.90, -41.30)
CIE-LCHlch(44.03, 79.47, 328.69°)
OKLaboklab(54.7% 0.191 -0.1144)
OKLCHoklch(54.7% 0.223 329.1)
XYZxyz(26.4967, 13.8562, 41.3152)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B127AE #27B12A
analogous
#6F27B1 #B127AE #B12769
triadic
#B127AE #AEB127 #27AEB1
tetradic
#B127AE #B16F27 #27B12A #2769B1
square
#B127AE #B16F27 #27B12A #2769B1
split-complementary
#B127AE #69B127 #27B16F
monochromatic
#4D114B #7F1C7D #B127AE #D540D2 #E072DE

Accessibility & contrast

On white

5.57
#B127AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B127AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B127AE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B127AE#FFFFFF#000000##FFFFFF
##B127AE1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055DB2
Deuteranopia (green-blind)
#516EAB
Tritanopia (blue-blind)
#B73D6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b127ae;
/* rgb */ color: rgb(177, 39, 174);
/* oklch */ color: oklch(54.7% 0.223 329.1);
Tailwind
colors: {
  custom: {
    50: '#cc72c7',
    500: '#b127ae',
    950: '#000000',
  },
}
SCSS
$custom: #b127ae;
$custom-light: #cc72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b127ae",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 301.304,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.22258,
    "h": 329.1
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#B127AE
secondary
#6DC76F
accent
#E74541
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B127AE

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

Preview Lab → · Contrast checker → · Palette generator →

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