#B628A8#B628A8

#B628A8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.220 H 332.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B628A8
RGBrgb(182, 40, 168)
HSLhsl(306, 64%, 44%)
HSVhsv(306, 78%, 71%)
CMYKcmyk(0%, 78%, 7.7%, 28.6%)
CIE-LABlab(44.65, 67.74, -36.70)
CIE-LCHlch(44.65, 77.05, 331.56°)
OKLaboklab(55.21% 0.1952 -0.1009)
OKLCHoklch(55.21% 0.22 332.7)
XYZxyz(27.1182, 14.2922, 38.3686)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628A8 #28B636
analogous
#7D28B6 #B628A8 #B62861
triadic
#B628A8 #A8B628 #28A8B6
tetradic
#B628A8 #B67D28 #28B636 #2861B6
square
#B628A8 #B67D28 #28B636 #2861B6
split-complementary
#B628A8 #61B628 #28B67D
monochromatic
#52124B #841D7A #B628A8 #D645C8 #E177D7

Accessibility & contrast

On white

5.44
#B628A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B628A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628A8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628A8#FFFFFF#000000##FFFFFF
##B628A81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5DAB
Deuteranopia (green-blind)
#5971A5
Tritanopia (blue-blind)
#BE3967
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b628a8;
/* rgb */ color: rgb(182, 40, 168);
/* oklch */ color: oklch(55.2% 0.220 332.7);
Tailwind
colors: {
  custom: {
    50: '#d073c2',
    500: '#b628a8',
    950: '#000000',
  },
}
SCSS
$custom: #b628a8;
$custom-light: #d073c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b628a8",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 305.915,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55205,
    "c": 0.21975,
    "h": 332.7
  },
  "luminance": 0.1429
}

Semantic roles & 50–950 ramp

primary
#B628A8
secondary
#71C97A
accent
#E75141
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B628A8

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

Preview Lab → · Contrast checker → · Palette generator →

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