#B028AB#B028AB

#B028AB is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.219 H 329.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B028AB
RGBrgb(176, 40, 171)
HSLhsl(302, 63%, 42%)
HSVhsv(302, 77%, 69%)
CMYKcmyk(0%, 77.3%, 2.8%, 31%)
CIE-LABlab(43.78, 66.94, -39.91)
CIE-LCHlch(43.78, 77.93, 329.19°)
OKLaboklab(54.45% 0.1892 -0.1104)
OKLCHoklch(54.45% 0.219 329.7)
XYZxyz(26.0138, 13.6900, 39.7925)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028AB #28B02D
analogous
#7128B0 #B028AB #B02867
triadic
#B028AB #ABB028 #28ABB0
tetradic
#B028AB #B07128 #28B02D #2867B0
square
#B028AB #B07128 #28B02D #2867B0
split-complementary
#B028AB #67B028 #28B071
monochromatic
#4C114A #7E1D7B #B028AB #D441CE #DF73DB

Accessibility & contrast

On white

5.62
#B028AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#B028AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028AB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028AB#FFFFFF#000000##FFFFFF
##B028AB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#B73C69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b028ab;
/* rgb */ color: rgb(176, 40, 171);
/* oklch */ color: oklch(54.4% 0.219 329.7);
Tailwind
colors: {
  custom: {
    50: '#cc72c4',
    500: '#b028ab',
    950: '#000000',
  },
}
SCSS
$custom: #b028ab;
$custom-light: #cc72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b028ab",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 302.206,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54446,
    "c": 0.219,
    "h": 329.7
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#B028AB
secondary
#6DC671
accent
#E64842
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B028AB

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

Preview Lab → · Contrast checker → · Palette generator →

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