#B028A1#B028A1

#B028A1 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.212 H 333.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B028A1
RGBrgb(176, 40, 161)
HSLhsl(307, 63%, 42%)
HSVhsv(307, 77%, 69%)
CMYKcmyk(0%, 77.3%, 8.5%, 31%)
CIE-LABlab(43.25, 65.40, -34.80)
CIE-LCHlch(43.25, 74.08, 331.98°)
OKLaboklab(53.89% 0.189 -0.0956)
OKLCHoklch(53.89% 0.212 333.2)
XYZxyz(25.0965, 13.3231, 34.9612)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028A1 #28B037
analogous
#7B28B0 #B028A1 #B0285D
triadic
#B028A1 #A1B028 #28A1B0
tetradic
#B028A1 #B07B28 #28B037 #285DB0
square
#B028A1 #B07B28 #28B037 #285DB0
split-complementary
#B028A1 #5DB028 #28B07B
monochromatic
#4C1146 #7E1D73 #B028A1 #D441C4 #DF73D3

Accessibility & contrast

On white

5.73
#B028A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#B028A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028A1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028A1#FFFFFF#000000##FFFFFF
##B028A11.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215AA4
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#B83763
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b028a1;
/* rgb */ color: rgb(176, 40, 161);
/* oklch */ color: oklch(53.9% 0.212 333.2);
Tailwind
colors: {
  custom: {
    50: '#cc72bd',
    500: '#b028a1',
    950: '#000000',
  },
}
SCSS
$custom: #b028a1;
$custom-light: #cc72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b028a1",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 306.618,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.2118,
    "h": 333.2
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#B028A1
secondary
#6DC677
accent
#E65442
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B028A1

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

Preview Lab → · Contrast checker → · Palette generator →

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