#B127A3#B127A3

#B127A3 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.215 H 332.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B127A3
RGBrgb(177, 39, 163)
HSLhsl(306, 64%, 42%)
HSVhsv(306, 78%, 69%)
CMYKcmyk(0%, 78%, 7.9%, 30.6%)
CIE-LABlab(43.43, 66.20, -35.71)
CIE-LCHlch(43.43, 75.22, 331.66°)
OKLaboklab(54.08% 0.1909 -0.0982)
OKLCHoklch(54.08% 0.215 332.8)
XYZxyz(25.4680, 13.4447, 35.8970)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B127A3 #27B135
analogous
#7A27B1 #B127A3 #B1275E
triadic
#B127A3 #A3B127 #27A3B1
tetradic
#B127A3 #B17A27 #27B135 #275EB1
square
#B127A3 #B17A27 #27B135 #275EB1
split-complementary
#B127A3 #5EB127 #27B17A
monochromatic
#4D1147 #7F1C75 #B127A3 #D540C6 #E072D5

Accessibility & contrast

On white

5.69
#B127A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B127A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B127A3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B127A3#FFFFFF#000000##FFFFFF
##B127A31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA6
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#B93764
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b127a3;
/* rgb */ color: rgb(177, 39, 163);
/* oklch */ color: oklch(54.1% 0.215 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc72bf',
    500: '#b127a3',
    950: '#000000',
  },
}
SCSS
$custom: #b127a3;
$custom-light: #cc72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b127a3",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 306.087,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54082,
    "c": 0.21466,
    "h": 332.8
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#B127A3
secondary
#6DC776
accent
#E75241
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B127A3

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

Preview Lab → · Contrast checker → · Palette generator →

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