#B028A2#B028A2

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

Color values

HEX#B028A2
RGBrgb(176, 40, 162)
HSLhsl(306, 63%, 42%)
HSVhsv(306, 77%, 69%)
CMYKcmyk(0%, 77.3%, 8%, 31%)
CIE-LABlab(43.30, 65.55, -35.32)
CIE-LCHlch(43.30, 74.46, 331.68°)
OKLaboklab(53.94% 0.189 -0.0971)
OKLCHoklch(53.94% 0.213 332.8)
XYZxyz(25.1850, 13.3585, 35.4274)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028A2 #28B036
analogous
#7A28B0 #B028A2 #B0285E
triadic
#B028A2 #A2B028 #28A2B0
tetradic
#B028A2 #B07A28 #28B036 #285EB0
square
#B028A2 #B07A28 #28B036 #285EB0
split-complementary
#B028A2 #5EB028 #28B07A
monochromatic
#4C1146 #7E1D74 #B028A2 #D441C5 #DF73D4

Accessibility & contrast

On white

5.72
#B028A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B028A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028A2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028A2#FFFFFF#000000##FFFFFF
##B028A21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#B83864
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b028a2;
/* rgb */ color: rgb(176, 40, 162);
/* oklch */ color: oklch(53.9% 0.213 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc72be',
    500: '#b028a2',
    950: '#000000',
  },
}
SCSS
$custom: #b028a2;
$custom-light: #cc72be;
$custom-dark: #000000;
JSON
{
  "hex": "#b028a2",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 306.176,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.21251,
    "h": 332.8
  },
  "luminance": 0.13356
}

Semantic roles & 50–950 ramp

primary
#B028A2
secondary
#6DC677
accent
#E65342
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B028A2

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

Preview Lab → · Contrast checker → · Palette generator →

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