#B028A3#B028A3

#B028A3 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.213 H 332.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B028A3
RGBrgb(176, 40, 163)
HSLhsl(306, 63%, 42%)
HSVhsv(306, 77%, 69%)
CMYKcmyk(0%, 77.3%, 7.4%, 31%)
CIE-LABlab(43.35, 65.70, -35.84)
CIE-LCHlch(43.35, 74.84, 331.39°)
OKLaboklab(54% 0.1891 -0.0986)
OKLCHoklch(54% 0.213 332.5)
XYZxyz(25.2743, 13.3942, 35.8974)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028A3 #28B035
analogous
#7928B0 #B028A3 #B0285F
triadic
#B028A3 #A3B028 #28A3B0
tetradic
#B028A3 #B07928 #28B035 #285FB0
square
#B028A3 #B07928 #28B035 #285FB0
split-complementary
#B028A3 #5FB028 #28B079
monochromatic
#4C1147 #7E1D75 #B028A3 #D441C6 #DF73D5

Accessibility & contrast

On white

5.71
#B028A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B028A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028A3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028A3#FFFFFF#000000##FFFFFF
##B028A31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA6
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#B83864
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b028a3;
/* rgb */ color: rgb(176, 40, 163);
/* oklch */ color: oklch(54.0% 0.213 332.5);
Tailwind
colors: {
  custom: {
    50: '#cc72bf',
    500: '#b028a3',
    950: '#000000',
  },
}
SCSS
$custom: #b028a3;
$custom-light: #cc72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b028a3",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 305.735,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53996,
    "c": 0.21322,
    "h": 332.5
  },
  "luminance": 0.13392
}

Semantic roles & 50–950 ramp

primary
#B028A3
secondary
#6DC676
accent
#E65142
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B028A3

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

Preview Lab → · Contrast checker → · Palette generator →

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