#B127B3#B127B3

#B127B3 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.226 H 327.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B127B3
RGBrgb(177, 39, 179)
HSLhsl(299, 64%, 43%)
HSVhsv(299, 78%, 70%)
CMYKcmyk(1.1%, 78.2%, 0%, 29.8%)
CIE-LABlab(44.31, 68.69, -43.80)
CIE-LCHlch(44.31, 81.47, 327.48°)
OKLaboklab(55% 0.1908 -0.1216)
OKLCHoklch(55% 0.226 327.5)
XYZxyz(26.9933, 14.0548, 43.9302)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B127B3 #29B327
analogous
#6B27B3 #B127B3 #B3276F
triadic
#B127B3 #B3B127 #27B3B1
tetradic
#B127B3 #B36B27 #29B327 #276FB3
square
#B127B3 #B36B27 #29B327 #276FB3
split-complementary
#B127B3 #6FB327 #27B36B
monochromatic
#4E114E #7F1C81 #B127B3 #D441D6 #DF74E1

Accessibility & contrast

On white

5.51
#B127B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B127B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B127B3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B127B3#FFFFFF#000000##FFFFFF
##B127B31.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#B6406D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b127b3;
/* rgb */ color: rgb(177, 39, 179);
/* oklch */ color: oklch(55.0% 0.226 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc72ca',
    500: '#b127b3',
    950: '#000000',
  },
}
SCSS
$custom: #b127b3;
$custom-light: #cc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b127b3",
  "rgb": {
    "r": 177,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 299.143,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.22627,
    "h": 327.5
  },
  "luminance": 0.14053
}

Semantic roles & 50–950 ramp

primary
#B127B3
secondary
#6FC86E
accent
#E74143
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B127B3

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

Preview Lab → · Contrast checker → · Palette generator →

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