#B028B2#B028B2

#B028B2 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.9% C 0.224 H 327.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B028B2
RGBrgb(176, 40, 178)
HSLhsl(299, 63%, 43%)
HSVhsv(299, 78%, 70%)
CMYKcmyk(1.1%, 77.5%, 0%, 30.2%)
CIE-LABlab(44.18, 68.06, -43.43)
CIE-LCHlch(44.18, 80.73, 327.46°)
OKLaboklab(54.86% 0.189 -0.1206)
OKLCHoklch(54.86% 0.224 327.5)
XYZxyz(26.6988, 13.9640, 43.4000)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028B2 #2AB228
analogous
#6B28B2 #B028B2 #B2286F
triadic
#B028B2 #B2B028 #28B2B0
tetradic
#B028B2 #B26B28 #2AB228 #286FB2
square
#B028B2 #B26B28 #2AB228 #286FB2
split-complementary
#B028B2 #6FB228 #28B26B
monochromatic
#4D124E #7F1D80 #B028B2 #D343D5 #DE75E0

Accessibility & contrast

On white

5.54
#B028B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B028B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028B2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028B2#FFFFFF#000000##FFFFFF
##B028B21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#B5406D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b028b2;
/* rgb */ color: rgb(176, 40, 178);
/* oklch */ color: oklch(54.9% 0.224 327.5);
Tailwind
colors: {
  custom: {
    50: '#cc72c9',
    500: '#b028b2',
    950: '#000000',
  },
}
SCSS
$custom: #b028b2;
$custom-light: #cc72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b028b2",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 299.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.22419,
    "h": 327.5
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#B028B2
secondary
#70C76F
accent
#E64144
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B028B2

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

Preview Lab → · Contrast checker → · Palette generator →

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