#B628A7#B628A7

#B628A7 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.219 H 333.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B628A7
RGBrgb(182, 40, 167)
HSLhsl(306, 64%, 44%)
HSVhsv(306, 78%, 71%)
CMYKcmyk(0%, 78%, 8.2%, 28.6%)
CIE-LABlab(44.60, 67.60, -36.19)
CIE-LCHlch(44.60, 76.67, 331.84°)
OKLaboklab(55.15% 0.1952 -0.0994)
OKLCHoklch(55.15% 0.219 333)
XYZxyz(27.0254, 14.2550, 37.8799)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628A7 #28B637
analogous
#7E28B6 #B628A7 #B62860
triadic
#B628A7 #A7B628 #28A7B6
tetradic
#B628A7 #B67E28 #28B637 #2860B6
square
#B628A7 #B67E28 #28B637 #2860B6
split-complementary
#B628A7 #60B628 #28B67E
monochromatic
#52124B #841D79 #B628A7 #D645C7 #E177D6

Accessibility & contrast

On white

5.45
#B628A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B628A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628A7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628A7#FFFFFF#000000##FFFFFF
##B628A71.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205DAA
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#BE3867
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b628a7;
/* rgb */ color: rgb(182, 40, 167);
/* oklch */ color: oklch(55.1% 0.219 333.0);
Tailwind
colors: {
  custom: {
    50: '#d073c1',
    500: '#b628a7',
    950: '#000000',
  },
}
SCSS
$custom: #b628a7;
$custom-light: #d073c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b628a7",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 306.338,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.21905,
    "h": 333
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#B628A7
secondary
#71C97A
accent
#E75241
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B628A7

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

Preview Lab → · Contrast checker → · Palette generator →

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