#B628A1#B628A1

#B628A1 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.215 H 335.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B628A1
RGBrgb(182, 40, 161)
HSLhsl(309, 64%, 44%)
HSVhsv(309, 78%, 71%)
CMYKcmyk(0%, 78%, 11.5%, 28.6%)
CIE-LABlab(44.29, 66.71, -33.09)
CIE-LCHlch(44.29, 74.47, 333.62°)
OKLaboklab(54.83% 0.1949 -0.0905)
OKLCHoklch(54.83% 0.215 335.1)
XYZxyz(26.4836, 14.0383, 35.0262)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628A1 #28B63D
analogous
#8428B6 #B628A1 #B6285A
triadic
#B628A1 #A1B628 #28A1B6
tetradic
#B628A1 #B68428 #28B63D #285AB6
square
#B628A1 #B68428 #28B63D #285AB6
split-complementary
#B628A1 #5AB628 #28B684
monochromatic
#521248 #841D75 #B628A1 #D645C1 #E177D1

Accessibility & contrast

On white

5.52
#B628A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B628A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628A1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628A1#FFFFFF#000000##FFFFFF
##B628A11.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA4
Deuteranopia (green-blind)
#5D709E
Tritanopia (blue-blind)
#BF3563
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b628a1;
/* rgb */ color: rgb(182, 40, 161);
/* oklch */ color: oklch(54.8% 0.215 335.1);
Tailwind
colors: {
  custom: {
    50: '#d073bd',
    500: '#b628a1',
    950: '#000000',
  },
}
SCSS
$custom: #b628a1;
$custom-light: #d073bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b628a1",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 308.873,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54829,
    "c": 0.2149,
    "h": 335.1
  },
  "luminance": 0.14036
}

Semantic roles & 50–950 ramp

primary
#B628A1
secondary
#71C97E
accent
#E75941
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B628A1

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

Preview Lab → · Contrast checker → · Palette generator →

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