#B028AA#B028AA

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

Color values

HEX#B028AA
RGBrgb(176, 40, 170)
HSLhsl(303, 63%, 42%)
HSVhsv(303, 77%, 69%)
CMYKcmyk(0%, 77.3%, 3.4%, 31%)
CIE-LABlab(43.73, 66.78, -39.41)
CIE-LCHlch(43.73, 77.54, 329.46°)
OKLaboklab(54.39% 0.1892 -0.1089)
OKLCHoklch(54.39% 0.218 330.1)
XYZxyz(25.9189, 13.6520, 39.2924)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028AA #28B02E
analogous
#7228B0 #B028AA #B02866
triadic
#B028AA #AAB028 #28AAB0
tetradic
#B028AA #B07228 #28B02E #2866B0
square
#B028AA #B07228 #28B02E #2866B0
split-complementary
#B028AA #66B028 #28B072
monochromatic
#4C114A #7E1D7A #B028AA #D441CD #DF73DA

Accessibility & contrast

On white

5.63
#B028AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#B028AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028AA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028AA#FFFFFF#000000##FFFFFF
##B028AA1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125CAD
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#B73C68
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b028aa;
/* rgb */ color: rgb(176, 40, 170);
/* oklch */ color: oklch(54.4% 0.218 330.1);
Tailwind
colors: {
  custom: {
    50: '#cc72c4',
    500: '#b028aa',
    950: '#000000',
  },
}
SCSS
$custom: #b028aa;
$custom-light: #cc72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b028aa",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 302.647,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54389,
    "c": 0.21828,
    "h": 330.1
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#B028AA
secondary
#6DC671
accent
#E64942
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B028AA

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

Preview Lab → · Contrast checker → · Palette generator →

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