#B127B4#B127B4

#B127B4 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.1% C 0.227 H 327.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B127B4
RGBrgb(177, 39, 180)
HSLhsl(299, 64%, 43%)
HSVhsv(299, 78%, 71%)
CMYKcmyk(1.7%, 78.3%, 0%, 29.4%)
CIE-LABlab(44.37, 68.86, -44.30)
CIE-LCHlch(44.37, 81.87, 327.25°)
OKLaboklab(55.06% 0.1908 -0.1231)
OKLCHoklch(55.06% 0.227 327.2)
XYZxyz(27.0948, 14.0954, 44.4648)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B127B4 #2AB427
analogous
#6A27B4 #B127B4 #B42771
triadic
#B127B4 #B4B127 #27B4B1
tetradic
#B127B4 #B46A27 #2AB427 #2771B4
square
#B127B4 #B46A27 #2AB427 #2771B4
split-complementary
#B127B4 #71B427 #27B46A
monochromatic
#4E114F #801C82 #B127B4 #D342D6 #DF74E1

Accessibility & contrast

On white

5.50
#B127B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B127B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B127B4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B127B4#FFFFFF#000000##FFFFFF
##B127B41.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#4D6FB1
Tritanopia (blue-blind)
#B6406E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b127b4;
/* rgb */ color: rgb(177, 39, 180);
/* oklch */ color: oklch(55.1% 0.227 327.2);
Tailwind
colors: {
  custom: {
    50: '#cc72cb',
    500: '#b127b4',
    950: '#000000',
  },
}
SCSS
$custom: #b127b4;
$custom-light: #cc72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b127b4",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 180
  },
  "hsl": {
    "h": 298.723,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55059,
    "c": 0.22702,
    "h": 327.2
  },
  "luminance": 0.14093
}

Semantic roles & 50–950 ramp

primary
#B127B4
secondary
#70C86F
accent
#E74044
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B127B4

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

Preview Lab → · Contrast checker → · Palette generator →

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