#B628AD#B628AD

#B628AD is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.223 H 331.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B628AD
RGBrgb(182, 40, 173)
HSLhsl(304, 64%, 44%)
HSVhsv(304, 78%, 71%)
CMYKcmyk(0%, 78%, 4.9%, 28.6%)
CIE-LABlab(44.92, 68.50, -39.24)
CIE-LCHlch(44.92, 78.95, 330.19°)
OKLaboklab(55.48% 0.1953 -0.1083)
OKLCHoklch(55.48% 0.223 331)
XYZxyz(27.5930, 14.4821, 40.8691)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628AD #28B631
analogous
#7828B6 #B628AD #B62866
triadic
#B628AD #ADB628 #28ADB6
tetradic
#B628AD #B67828 #28B631 #2866B6
square
#B628AD #B67828 #28B631 #2866B6
split-complementary
#B628AD #66B628 #28B678
monochromatic
#52124E #841D7D #B628AD #D645CD #E177DA

Accessibility & contrast

On white

5.39
#B628AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B628AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628AD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628AD#FFFFFF#000000##FFFFFF
##B628AD1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB0
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#BD3C6A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b628ad;
/* rgb */ color: rgb(182, 40, 173);
/* oklch */ color: oklch(55.5% 0.223 331.0);
Tailwind
colors: {
  custom: {
    50: '#d073c6',
    500: '#b628ad',
    950: '#000000',
  },
}
SCSS
$custom: #b628ad;
$custom-light: #d073c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b628ad",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 303.803,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55482,
    "c": 0.2233,
    "h": 331
  },
  "luminance": 0.1448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B628AD

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

Preview Lab → · Contrast checker → · Palette generator →

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