#B028B3#B028B3

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

Color values

HEX#B028B3
RGBrgb(176, 40, 179)
HSLhsl(299, 63%, 43%)
HSVhsv(299, 78%, 70%)
CMYKcmyk(1.7%, 77.7%, 0%, 29.8%)
CIE-LABlab(44.24, 68.22, -43.93)
CIE-LCHlch(44.24, 81.14, 327.22°)
OKLaboklab(54.92% 0.189 -0.122)
OKLCHoklch(54.92% 0.225 327.1)
XYZxyz(26.7996, 14.0043, 43.9307)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B028B3 #2BB328
analogous
#6A28B3 #B028B3 #B32870
triadic
#B028B3 #B3B028 #28B3B0
tetradic
#B028B3 #B36A28 #2BB328 #2870B3
square
#B028B3 #B36A28 #2BB328 #2870B3
split-complementary
#B028B3 #70B328 #28B36A
monochromatic
#4E124F #7F1D81 #B028B3 #D243D5 #DE75E0

Accessibility & contrast

On white

5.53
#B028B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B028B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B028B3
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B028B3#FFFFFF#000000##FFFFFF
##B028B31.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#B5416D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b028b3;
/* rgb */ color: rgb(176, 40, 179);
/* oklch */ color: oklch(54.9% 0.225 327.1);
Tailwind
colors: {
  custom: {
    50: '#cc73ca',
    500: '#b028b3',
    950: '#000000',
  },
}
SCSS
$custom: #b028b3;
$custom-light: #cc73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b028b3",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 298.705,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54916,
    "c": 0.22494,
    "h": 327.1
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#B028B3
secondary
#71C86F
accent
#E64145
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B028B3

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

Preview Lab → · Contrast checker → · Palette generator →

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