#B127A1#B127A1

#B127A1 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.213 H 333.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B127A1
RGBrgb(177, 39, 161)
HSLhsl(307, 64%, 42%)
HSVhsv(307, 78%, 69%)
CMYKcmyk(0%, 78%, 9%, 30.6%)
CIE-LABlab(43.32, 65.90, -34.68)
CIE-LCHlch(43.32, 74.47, 332.25°)
OKLaboklab(53.97% 0.1908 -0.0952)
OKLCHoklch(53.97% 0.213 333.5)
XYZxyz(25.2902, 13.3736, 34.9607)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B127A1 #27B137
analogous
#7C27B1 #B127A1 #B1275C
triadic
#B127A1 #A1B127 #27A1B1
tetradic
#B127A1 #B17C27 #27B137 #275CB1
square
#B127A1 #B17C27 #27B137 #275CB1
split-complementary
#B127A1 #5CB127 #27B17C
monochromatic
#4D1146 #7F1C73 #B127A1 #D540C4 #E072D3

Accessibility & contrast

On white

5.72
#B127A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B127A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B127A1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B127A1#FFFFFF#000000##FFFFFF
##B127A11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#B93663
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b127a1;
/* rgb */ color: rgb(177, 39, 161);
/* oklch */ color: oklch(54.0% 0.213 333.5);
Tailwind
colors: {
  custom: {
    50: '#cc72bd',
    500: '#b127a1',
    950: '#000000',
  },
}
SCSS
$custom: #b127a1;
$custom-light: #cc72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b127a1",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 306.957,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.21325,
    "h": 333.5
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#B127A1
secondary
#6DC777
accent
#E75441
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B127A1

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

Preview Lab → · Contrast checker → · Palette generator →

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