#B628A4#B628A4

#B628A4 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.217 H 334.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B628A4
RGBrgb(182, 40, 164)
HSLhsl(308, 64%, 44%)
HSVhsv(308, 78%, 71%)
CMYKcmyk(0%, 78%, 9.9%, 28.6%)
CIE-LABlab(44.44, 67.15, -34.64)
CIE-LCHlch(44.44, 75.56, 332.71°)
OKLaboklab(54.99% 0.1951 -0.095)
OKLCHoklch(54.99% 0.217 334)
XYZxyz(26.7513, 14.1454, 36.4362)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628A4 #28B63A
analogous
#8128B6 #B628A4 #B6285D
triadic
#B628A4 #A4B628 #28A4B6
tetradic
#B628A4 #B68128 #28B63A #285DB6
square
#B628A4 #B68128 #28B63A #285DB6
split-complementary
#B628A4 #5DB628 #28B681
monochromatic
#52124A #841D77 #B628A4 #D645C4 #E177D4

Accessibility & contrast

On white

5.49
#B628A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B628A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628A4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628A4#FFFFFF#000000##FFFFFF
##B628A41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA7
Deuteranopia (green-blind)
#5B70A1
Tritanopia (blue-blind)
#BF3765
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b628a4;
/* rgb */ color: rgb(182, 40, 164);
/* oklch */ color: oklch(55.0% 0.217 334.0);
Tailwind
colors: {
  custom: {
    50: '#d073bf',
    500: '#b628a4',
    950: '#000000',
  },
}
SCSS
$custom: #b628a4;
$custom-light: #d073bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b628a4",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 307.606,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.21696,
    "h": 334
  },
  "luminance": 0.14143
}

Semantic roles & 50–950 ramp

primary
#B628A4
secondary
#71C97C
accent
#E75641
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B628A4

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

Preview Lab → · Contrast checker → · Palette generator →

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