#B628A6#B628A6

#B628A6 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.218 H 333.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B628A6
RGBrgb(182, 40, 166)
HSLhsl(307, 64%, 44%)
HSVhsv(307, 78%, 71%)
CMYKcmyk(0%, 78%, 8.8%, 28.6%)
CIE-LABlab(44.54, 67.45, -35.67)
CIE-LCHlch(44.54, 76.30, 332.13°)
OKLaboklab(55.1% 0.1951 -0.098)
OKLCHoklch(55.1% 0.218 333.3)
XYZxyz(26.9333, 14.2182, 37.3949)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628A6 #28B638
analogous
#7F28B6 #B628A6 #B6285F
triadic
#B628A6 #A6B628 #28A6B6
tetradic
#B628A6 #B67F28 #28B638 #285FB6
square
#B628A6 #B67F28 #28B638 #285FB6
split-complementary
#B628A6 #5FB628 #28B67F
monochromatic
#52124A #841D78 #B628A6 #D645C6 #E177D5

Accessibility & contrast

On white

5.46
#B628A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B628A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628A6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628A6#FFFFFF#000000##FFFFFF
##B628A61.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA9
Deuteranopia (green-blind)
#5A70A3
Tritanopia (blue-blind)
#BE3866
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b628a6;
/* rgb */ color: rgb(182, 40, 166);
/* oklch */ color: oklch(55.1% 0.218 333.3);
Tailwind
colors: {
  custom: {
    50: '#d073c1',
    500: '#b628a6',
    950: '#000000',
  },
}
SCSS
$custom: #b628a6;
$custom-light: #d073c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b628a6",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 306.761,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55096,
    "c": 0.21835,
    "h": 333.3
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#B628A6
secondary
#71C97B
accent
#E75441
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B628A6

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

Preview Lab → · Contrast checker → · Palette generator →

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