#B028B1#B028B1

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

Color values

HEX#B028B1
RGBrgb(176, 40, 177)
HSLhsl(300, 63%, 43%)
HSVhsv(300, 77%, 69%)
CMYKcmyk(0.6%, 77.4%, 0%, 30.6%)
CIE-LABlab(44.12, 67.89, -42.93)
CIE-LCHlch(44.12, 80.33, 327.69°)
OKLaboklab(54.8% 0.189 -0.1191)
OKLCHoklch(54.8% 0.223 327.8)
XYZxyz(26.5987, 13.9240, 42.8731)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028B1 #29B128
analogous
#6B28B1 #B028B1 #B1286E
triadic
#B028B1 #B1B028 #28B1B0
tetradic
#B028B1 #B16B28 #29B128 #286EB1
square
#B028B1 #B16B28 #29B128 #286EB1
split-complementary
#B028B1 #6EB128 #28B16B
monochromatic
#4D114D #7E1D7F #B028B1 #D342D4 #DF74E0

Accessibility & contrast

On white

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

On black

3.78
#B028B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B028B1#FFFFFF#000000##FFFFFF
##B028B11.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#4F6EAE
Tritanopia (blue-blind)
#B5406C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b028b1;
/* rgb */ color: rgb(176, 40, 177);
/* oklch */ color: oklch(54.8% 0.223 327.8);
Tailwind
colors: {
  custom: {
    50: '#cc72c9',
    500: '#b028b1',
    950: '#000000',
  },
}
SCSS
$custom: #b028b1;
$custom-light: #cc72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b028b1",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 299.562,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.22345,
    "h": 327.8
  },
  "luminance": 0.13922
}

Semantic roles & 50–950 ramp

primary
#B028B1
secondary
#6FC76E
accent
#E64243
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B028B1

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

Preview Lab → · Contrast checker → · Palette generator →

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