#B127A9#B127A9

#B127A9 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.219 H 330.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B127A9
RGBrgb(177, 39, 169)
HSLhsl(303, 64%, 42%)
HSVhsv(303, 78%, 69%)
CMYKcmyk(0%, 78%, 4.5%, 30.6%)
CIE-LABlab(43.75, 67.12, -38.77)
CIE-LCHlch(43.75, 77.51, 329.98°)
OKLaboklab(54.42% 0.191 -0.107)
OKLCHoklch(54.42% 0.219 330.7)
XYZxyz(26.0184, 13.6648, 38.7957)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B127A9 #27B12F
analogous
#7427B1 #B127A9 #B12764
triadic
#B127A9 #A9B127 #27A9B1
tetradic
#B127A9 #B17427 #27B12F #2764B1
square
#B127A9 #B17427 #27B12F #2764B1
split-complementary
#B127A9 #64B127 #27B174
monochromatic
#4D1149 #7F1C79 #B127A9 #D540CC #E072DA

Accessibility & contrast

On white

5.63
#B127A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B127A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B127A9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B127A9#FFFFFF#000000##FFFFFF
##B127A91.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145BAC
Deuteranopia (green-blind)
#546EA6
Tritanopia (blue-blind)
#B83A67
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b127a9;
/* rgb */ color: rgb(177, 39, 169);
/* oklch */ color: oklch(54.4% 0.219 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc72c3',
    500: '#b127a9',
    950: '#000000',
  },
}
SCSS
$custom: #b127a9;
$custom-light: #cc72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b127a9",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 303.478,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.21894,
    "h": 330.7
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#B127A9
secondary
#6DC772
accent
#E74B41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B127A9

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

Preview Lab → · Contrast checker → · Palette generator →

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