#B127A6#B127A6

#B127A6 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.217 H 331.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B127A6
RGBrgb(177, 39, 166)
HSLhsl(305, 64%, 42%)
HSVhsv(305, 78%, 69%)
CMYKcmyk(0%, 78%, 6.2%, 30.6%)
CIE-LABlab(43.59, 66.65, -37.24)
CIE-LCHlch(43.59, 76.35, 330.81°)
OKLaboklab(54.25% 0.191 -0.1026)
OKLCHoklch(54.25% 0.217 331.8)
XYZxyz(25.7400, 13.5535, 37.3294)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B127A6 #27B132
analogous
#7727B1 #B127A6 #B12761
triadic
#B127A6 #A6B127 #27A6B1
tetradic
#B127A6 #B17727 #27B132 #2761B1
square
#B127A6 #B17727 #27B132 #2761B1
split-complementary
#B127A6 #61B127 #27B177
monochromatic
#4D1148 #7F1C77 #B127A6 #D540C9 #E072D7

Accessibility & contrast

On white

5.66
#B127A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B127A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B127A6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B127A6#FFFFFF#000000##FFFFFF
##B127A61.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5BA9
Deuteranopia (green-blind)
#566EA3
Tritanopia (blue-blind)
#B93966
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b127a6;
/* rgb */ color: rgb(177, 39, 166);
/* oklch */ color: oklch(54.2% 0.217 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc72c1',
    500: '#b127a6',
    950: '#000000',
  },
}
SCSS
$custom: #b127a6;
$custom-light: #cc72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b127a6",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 304.783,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.21679,
    "h": 331.8
  },
  "luminance": 0.13551
}

Semantic roles & 50–950 ramp

primary
#B127A6
secondary
#6DC774
accent
#E74E41
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B127A6

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

Preview Lab → · Contrast checker → · Palette generator →

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