#B628AC#B628AC

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

Color values

HEX#B628AC
RGBrgb(182, 40, 172)
HSLhsl(304, 64%, 44%)
HSVhsv(304, 78%, 71%)
CMYKcmyk(0%, 78%, 5.5%, 28.6%)
CIE-LABlab(44.86, 68.35, -38.73)
CIE-LCHlch(44.86, 78.56, 330.46°)
OKLaboklab(55.43% 0.1953 -0.1068)
OKLCHoklch(55.43% 0.223 331.3)
XYZxyz(27.4966, 14.4435, 40.3614)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628AC #28B632
analogous
#7928B6 #B628AC #B62865
triadic
#B628AC #ACB628 #28ACB6
tetradic
#B628AC #B67928 #28B632 #2865B6
square
#B628AC #B67928 #28B632 #2865B6
split-complementary
#B628AC #65B628 #28B679
monochromatic
#52124D #841D7D #B628AC #D645CC #E177DA

Accessibility & contrast

On white

5.40
#B628AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B628AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628AC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628AC#FFFFFF#000000##FFFFFF
##B628AC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185EAF
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#BE3B69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b628ac;
/* rgb */ color: rgb(182, 40, 172);
/* oklch */ color: oklch(55.4% 0.223 331.3);
Tailwind
colors: {
  custom: {
    50: '#d073c5',
    500: '#b628ac',
    950: '#000000',
  },
}
SCSS
$custom: #b628ac;
$custom-light: #d073c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b628ac",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 304.225,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.22258,
    "h": 331.3
  },
  "luminance": 0.14441
}

Semantic roles & 50–950 ramp

primary
#B628AC
secondary
#71C977
accent
#E74D41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B628AC

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

Preview Lab → · Contrast checker → · Palette generator →

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