#B127A7#B127A7

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

Color values

HEX#B127A7
RGBrgb(177, 39, 167)
HSLhsl(304, 64%, 42%)
HSVhsv(304, 78%, 69%)
CMYKcmyk(0%, 78%, 5.6%, 30.6%)
CIE-LABlab(43.64, 66.81, -37.76)
CIE-LCHlch(43.64, 76.74, 330.53°)
OKLaboklab(54.3% 0.191 -0.1041)
OKLCHoklch(54.3% 0.218 331.4)
XYZxyz(25.8320, 13.5903, 37.8144)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B127A7 #27B131
analogous
#7627B1 #B127A7 #B12762
triadic
#B127A7 #A7B127 #27A7B1
tetradic
#B127A7 #B17627 #27B131 #2762B1
square
#B127A7 #B17627 #27B131 #2762B1
split-complementary
#B127A7 #62B127 #27B176
monochromatic
#4D1148 #7F1C78 #B127A7 #D540CA #E072D8

Accessibility & contrast

On white

5.65
#B127A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B127A7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B127A7#FFFFFF#000000##FFFFFF
##B127A71.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BAA
Deuteranopia (green-blind)
#556EA4
Tritanopia (blue-blind)
#B83966
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b127a7;
/* rgb */ color: rgb(177, 39, 167);
/* oklch */ color: oklch(54.3% 0.217 331.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c1',
    500: '#b127a7',
    950: '#000000',
  },
}
SCSS
$custom: #b127a7;
$custom-light: #cc72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b127a7",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 304.348,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.2175,
    "h": 331.4
  },
  "luminance": 0.13588
}

Semantic roles & 50–950 ramp

primary
#B127A7
secondary
#6DC773
accent
#E74D41
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B127A7

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

Preview Lab → · Contrast checker → · Palette generator →

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