#B028A4#B028A4

#B028A4 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.214 H 332.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#B028A4
RGBrgb(176, 40, 164)
HSLhsl(305, 63%, 42%)
HSVhsv(305, 77%, 69%)
CMYKcmyk(0%, 77.3%, 6.8%, 31%)
CIE-LABlab(43.40, 65.85, -36.35)
CIE-LCHlch(43.40, 75.22, 331.10°)
OKLaboklab(54.05% 0.1891 -0.1)
OKLCHoklch(54.05% 0.214 332.1)
XYZxyz(25.3642, 13.4302, 36.3712)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028A4 #28B034
analogous
#7828B0 #B028A4 #B02860
triadic
#B028A4 #A4B028 #28A4B0
tetradic
#B028A4 #B07828 #28B034 #2860B0
square
#B028A4 #B07828 #28B034 #2860B0
split-complementary
#B028A4 #60B028 #28B078
monochromatic
#4C1147 #7E1D76 #B028A4 #D441C7 #DF73D6

Accessibility & contrast

On white

5.70
#B028A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#B028A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028A4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028A4#FFFFFF#000000##FFFFFF
##B028A41.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5AA7
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#B83965
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b028a4;
/* rgb */ color: rgb(176, 40, 164);
/* oklch */ color: oklch(54.1% 0.214 332.1);
Tailwind
colors: {
  custom: {
    50: '#cc72bf',
    500: '#b028a4',
    950: '#000000',
  },
}
SCSS
$custom: #b028a4;
$custom-light: #cc72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b028a4",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 305.294,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.21394,
    "h": 332.1
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

primary
#B028A4
secondary
#6DC675
accent
#E65042
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B028A4

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

Preview Lab → · Contrast checker → · Palette generator →

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