#B127B0#B127B0

#B127B0 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.224 H 328.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B127B0
RGBrgb(177, 39, 176)
HSLhsl(300, 64%, 42%)
HSVhsv(300, 78%, 69%)
CMYKcmyk(0%, 78%, 0.6%, 30.6%)
CIE-LABlab(44.14, 68.21, -42.30)
CIE-LCHlch(44.14, 80.27, 328.19°)
OKLaboklab(54.82% 0.1909 -0.1173)
OKLCHoklch(54.82% 0.224 328.4)
XYZxyz(26.6932, 13.9348, 42.3497)
Luminance0.1393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B127B0 #27B128
analogous
#6D27B1 #B127B0 #B1276B
triadic
#B127B0 #B0B127 #27B0B1
tetradic
#B127B0 #B16D27 #27B128 #276BB1
square
#B127B0 #B16D27 #27B128 #276BB1
split-complementary
#B127B0 #6BB127 #27B16D
monochromatic
#4D114C #7F1C7E #B127B0 #D540D4 #E072DF

Accessibility & contrast

On white

5.55
#B127B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B127B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B127B0
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B127B0#FFFFFF#000000##FFFFFF
##B127B01.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#506EAD
Tritanopia (blue-blind)
#B73E6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b127b0;
/* rgb */ color: rgb(177, 39, 176);
/* oklch */ color: oklch(54.8% 0.224 328.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c8',
    500: '#b127b0',
    950: '#000000',
  },
}
SCSS
$custom: #b127b0;
$custom-light: #cc72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b127b0",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 300.435,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54821,
    "c": 0.22405,
    "h": 328.4
  },
  "luminance": 0.13933
}

Semantic roles & 50–950 ramp

primary
#B127B0
secondary
#6DC76D
accent
#E74241
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B127B0

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

Preview Lab → · Contrast checker → · Palette generator →

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