#B028AF#B028AF

#B028AF is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.222 H 328.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B028AF
RGBrgb(176, 40, 175)
HSLhsl(300, 63%, 42%)
HSVhsv(300, 77%, 69%)
CMYKcmyk(0%, 77.3%, 0.6%, 31%)
CIE-LABlab(44.01, 67.57, -41.93)
CIE-LCHlch(44.01, 79.52, 328.18°)
OKLaboklab(54.68% 0.1891 -0.1162)
OKLCHoklch(54.68% 0.222 328.4)
XYZxyz(26.4009, 13.8448, 41.8309)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028AF #28B029
analogous
#6D28B0 #B028AF #B0286B
triadic
#B028AF #AFB028 #28AFB0
tetradic
#B028AF #B06D28 #28B029 #286BB0
square
#B028AF #B06D28 #28B029 #286BB0
split-complementary
#B028AF #6BB028 #28B06D
monochromatic
#4C114C #7E1D7D #B028AF #D441D3 #DF73DE

Accessibility & contrast

On white

5.57
#B028AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B028AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028AF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028AF#FFFFFF#000000##FFFFFF
##B028AF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025DB3
Deuteranopia (green-blind)
#506EAC
Tritanopia (blue-blind)
#B63F6B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b028af;
/* rgb */ color: rgb(176, 40, 175);
/* oklch */ color: oklch(54.7% 0.222 328.4);
Tailwind
colors: {
  custom: {
    50: '#cc72c7',
    500: '#b028af',
    950: '#000000',
  },
}
SCSS
$custom: #b028af;
$custom-light: #cc72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b028af",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 300.441,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.54678,
    "c": 0.22196,
    "h": 328.4
  },
  "luminance": 0.13843
}

Semantic roles & 50–950 ramp

primary
#B028AF
secondary
#6DC66E
accent
#E64342
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B028AF

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

Preview Lab → · Contrast checker → · Palette generator →

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