#B028AC#B028AC

#B028AC is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.220 H 329.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B028AC
RGBrgb(176, 40, 172)
HSLhsl(302, 63%, 42%)
HSVhsv(302, 77%, 69%)
CMYKcmyk(0%, 77.3%, 2.3%, 31%)
CIE-LABlab(43.84, 67.10, -40.42)
CIE-LCHlch(43.84, 78.33, 328.94°)
OKLaboklab(54.5% 0.1892 -0.1118)
OKLCHoklch(54.5% 0.22 329.4)
XYZxyz(26.1095, 13.7283, 40.2964)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028AC #28B02C
analogous
#7028B0 #B028AC #B02868
triadic
#B028AC #ACB028 #28ACB0
tetradic
#B028AC #B07028 #28B02C #2868B0
square
#B028AC #B07028 #28B02C #2868B0
split-complementary
#B028AC #68B028 #28B070
monochromatic
#4C114B #7E1D7B #B028AC #D441D0 #DF73DC

Accessibility & contrast

On white

5.61
#B028AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#B028AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028AC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028AC#FFFFFF#000000##FFFFFF
##B028AC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5CAF
Deuteranopia (green-blind)
#526EA9
Tritanopia (blue-blind)
#B63D69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b028ac;
/* rgb */ color: rgb(176, 40, 172);
/* oklch */ color: oklch(54.5% 0.220 329.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c5',
    500: '#b028ac',
    950: '#000000',
  },
}
SCSS
$custom: #b028ac;
$custom-light: #cc72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b028ac",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 301.765,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.21974,
    "h": 329.4
  },
  "luminance": 0.13726
}

Semantic roles & 50–950 ramp

primary
#B028AC
secondary
#6DC670
accent
#E64742
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B028AC

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

Preview Lab → · Contrast checker → · Palette generator →

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