#B628A5#B628A5

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

Color values

HEX#B628A5
RGBrgb(182, 40, 165)
HSLhsl(307, 64%, 44%)
HSVhsv(307, 78%, 71%)
CMYKcmyk(0%, 78%, 9.3%, 28.6%)
CIE-LABlab(44.49, 67.30, -35.16)
CIE-LCHlch(44.49, 75.93, 332.42°)
OKLaboklab(55.04% 0.1951 -0.0965)
OKLCHoklch(55.04% 0.218 333.7)
XYZxyz(26.8420, 14.1816, 36.9137)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628A5 #28B639
analogous
#8028B6 #B628A5 #B6285E
triadic
#B628A5 #A5B628 #28A5B6
tetradic
#B628A5 #B68028 #28B639 #285EB6
square
#B628A5 #B68028 #28B639 #285EB6
split-complementary
#B628A5 #5EB628 #28B680
monochromatic
#52124A #841D78 #B628A5 #D645C5 #E177D4

Accessibility & contrast

On white

5.47
#B628A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B628A5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628A5#FFFFFF#000000##FFFFFF
##B628A51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#5B70A2
Tritanopia (blue-blind)
#BF3765
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b628a5;
/* rgb */ color: rgb(182, 40, 165);
/* oklch */ color: oklch(55.0% 0.218 333.7);
Tailwind
colors: {
  custom: {
    50: '#d073c0',
    500: '#b628a5',
    950: '#000000',
  },
}
SCSS
$custom: #b628a5;
$custom-light: #d073c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b628a5",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 307.183,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55042,
    "c": 0.21765,
    "h": 333.7
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B628A5

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

Preview Lab → · Contrast checker → · Palette generator →

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