#B628AB#B628AB

#B628AB is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.222 H 331.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B628AB
RGBrgb(182, 40, 171)
HSLhsl(305, 64%, 44%)
HSVhsv(305, 78%, 71%)
CMYKcmyk(0%, 78%, 6%, 28.6%)
CIE-LABlab(44.81, 68.20, -38.23)
CIE-LCHlch(44.81, 78.18, 330.73°)
OKLaboklab(55.37% 0.1953 -0.1053)
OKLCHoklch(55.37% 0.222 331.7)
XYZxyz(27.4009, 14.4052, 39.8575)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628AB #28B633
analogous
#7A28B6 #B628AB #B62864
triadic
#B628AB #ABB628 #28ABB6
tetradic
#B628AB #B67A28 #28B633 #2864B6
square
#B628AB #B67A28 #28B633 #2864B6
split-complementary
#B628AB #64B628 #28B67A
monochromatic
#52124D #841D7C #B628AB #D645CB #E177D9

Accessibility & contrast

On white

5.41
#B628AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B628AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628AB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628AB#FFFFFF#000000##FFFFFF
##B628AB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAE
Deuteranopia (green-blind)
#5871A8
Tritanopia (blue-blind)
#BE3B69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b628ab;
/* rgb */ color: rgb(182, 40, 171);
/* oklch */ color: oklch(55.4% 0.222 331.7);
Tailwind
colors: {
  custom: {
    50: '#d073c4',
    500: '#b628ab',
    950: '#000000',
  },
}
SCSS
$custom: #b628ab;
$custom-light: #d073c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b628ab",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 304.648,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55371,
    "c": 0.22187,
    "h": 331.7
  },
  "luminance": 0.14403
}

Semantic roles & 50–950 ramp

primary
#B628AB
secondary
#71C978
accent
#E74E41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B628AB

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

Preview Lab → · Contrast checker → · Palette generator →

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