#B028A7#B028A7

#B028A7 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.216 H 331.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B028A7
RGBrgb(176, 40, 167)
HSLhsl(304, 63%, 42%)
HSVhsv(304, 77%, 69%)
CMYKcmyk(0%, 77.3%, 5.1%, 31%)
CIE-LABlab(43.57, 66.31, -37.88)
CIE-LCHlch(43.57, 76.37, 330.26°)
OKLaboklab(54.22% 0.1892 -0.1045)
OKLCHoklch(54.22% 0.216 331.1)
XYZxyz(25.6383, 13.5398, 37.8148)
Luminance0.1354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028A7 #28B031
analogous
#7528B0 #B028A7 #B02863
triadic
#B028A7 #A7B028 #28A7B0
tetradic
#B028A7 #B07528 #28B031 #2863B0
square
#B028A7 #B07528 #28B031 #2863B0
split-complementary
#B028A7 #63B028 #28B075
monochromatic
#4C1148 #7E1D78 #B028A7 #D441CA #DF73D8

Accessibility & contrast

On white

5.66
#B028A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B028A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028A7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028A7#FFFFFF#000000##FFFFFF
##B028A71.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185BAA
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#B73A66
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b028a7;
/* rgb */ color: rgb(176, 40, 167);
/* oklch */ color: oklch(54.2% 0.216 331.1);
Tailwind
colors: {
  custom: {
    50: '#cc72c1',
    500: '#b028a7',
    950: '#000000',
  },
}
SCSS
$custom: #b028a7;
$custom-light: #cc72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b028a7",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 303.971,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.2161,
    "h": 331.1
  },
  "luminance": 0.13538
}

Semantic roles & 50–950 ramp

primary
#B028A7
secondary
#6DC673
accent
#E64D42
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B028A7

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

Preview Lab → · Contrast checker → · Palette generator →

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