#B028A9#B028A9

#B028A9 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.218 H 330.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B028A9
RGBrgb(176, 40, 169)
HSLhsl(303, 63%, 42%)
HSVhsv(303, 77%, 69%)
CMYKcmyk(0%, 77.3%, 4%, 31%)
CIE-LABlab(43.67, 66.63, -38.90)
CIE-LCHlch(43.67, 77.15, 329.72°)
OKLaboklab(54.33% 0.1892 -0.1074)
OKLCHoklch(54.33% 0.218 330.4)
XYZxyz(25.8246, 13.6143, 38.7961)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028A9 #28B02F
analogous
#7328B0 #B028A9 #B02865
triadic
#B028A9 #A9B028 #28A9B0
tetradic
#B028A9 #B07328 #28B02F #2865B0
square
#B028A9 #B07328 #28B02F #2865B0
split-complementary
#B028A9 #65B028 #28B073
monochromatic
#4C1149 #7E1D79 #B028A9 #D441CC #DF73DA

Accessibility & contrast

On white

5.64
#B028A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B028A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028A9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028A9#FFFFFF#000000##FFFFFF
##B028A91.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145BAC
Deuteranopia (green-blind)
#536EA6
Tritanopia (blue-blind)
#B73B68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b028a9;
/* rgb */ color: rgb(176, 40, 169);
/* oklch */ color: oklch(54.3% 0.218 330.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c3',
    500: '#b028a9',
    950: '#000000',
  },
}
SCSS
$custom: #b028a9;
$custom-light: #cc72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b028a9",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 303.088,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.21755,
    "h": 330.4
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#B028A9
secondary
#6DC672
accent
#E64A42
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B028A9

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

Preview Lab → · Contrast checker → · Palette generator →

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