#B128B3#B128B3

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

Color values

HEX#B128B3
RGBrgb(177, 40, 179)
HSLhsl(299, 63%, 43%)
HSVhsv(299, 78%, 70%)
CMYKcmyk(1.1%, 77.7%, 0%, 29.8%)
CIE-LABlab(44.41, 68.42, -43.65)
CIE-LCHlch(44.41, 81.16, 327.46°)
OKLaboklab(55.07% 0.19 -0.1212)
OKLCHoklch(55.07% 0.225 327.5)
XYZxyz(27.0265, 14.1213, 43.9413)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B128B3 #2AB328
analogous
#6C28B3 #B128B3 #B3286F
triadic
#B128B3 #B3B128 #28B3B1
tetradic
#B128B3 #B36C28 #2AB328 #286FB3
square
#B128B3 #B36C28 #2AB328 #286FB3
split-complementary
#B128B3 #6FB328 #28B36C
monochromatic
#4E124F #801D81 #B128B3 #D343D5 #DF75E0

Accessibility & contrast

On white

5.49
#B128B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B128B3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B128B3#FFFFFF#000000##FFFFFF
##B128B31.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.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: #b128b3;
/* rgb */ color: rgb(177, 40, 179);
/* oklch */ color: oklch(55.1% 0.225 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc73ca',
    500: '#b128b3',
    950: '#000000',
  },
}
SCSS
$custom: #b128b3;
$custom-light: #cc73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b128b3",
  "rgb": {
    "r": 177,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 299.137,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.22538,
    "h": 327.5
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B128B3

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

Preview Lab → · Contrast checker → · Palette generator →

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