#B028A5#B028A5

#B028A5 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.215 H 331.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B028A5
RGBrgb(176, 40, 165)
HSLhsl(305, 63%, 42%)
HSVhsv(305, 77%, 69%)
CMYKcmyk(0%, 77.3%, 6.2%, 31%)
CIE-LABlab(43.46, 66.01, -36.86)
CIE-LCHlch(43.46, 75.60, 330.82°)
OKLaboklab(54.11% 0.1891 -0.1015)
OKLCHoklch(54.11% 0.215 331.8)
XYZxyz(25.4549, 13.4664, 36.8486)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028A5 #28B033
analogous
#7728B0 #B028A5 #B02861
triadic
#B028A5 #A5B028 #28A5B0
tetradic
#B028A5 #B07728 #28B033 #2861B0
square
#B028A5 #B07728 #28B033 #2861B0
split-complementary
#B028A5 #61B028 #28B077
monochromatic
#4C1148 #7E1D76 #B028A5 #D441C8 #DF73D6

Accessibility & contrast

On white

5.69
#B028A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B028A5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028A5#FFFFFF#000000##FFFFFF
##B028A51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5BA8
Deuteranopia (green-blind)
#566DA2
Tritanopia (blue-blind)
#B73965
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b028a5;
/* rgb */ color: rgb(176, 40, 165);
/* oklch */ color: oklch(54.1% 0.215 331.8);
Tailwind
colors: {
  custom: {
    50: '#cc72c0',
    500: '#b028a5',
    950: '#000000',
  },
}
SCSS
$custom: #b028a5;
$custom-light: #cc72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b028a5",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 304.853,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54107,
    "c": 0.21465,
    "h": 331.8
  },
  "luminance": 0.13464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B028A5

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

Preview Lab → · Contrast checker → · Palette generator →

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