#B628A9#B628A9

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

Color values

HEX#B628A9
RGBrgb(182, 40, 169)
HSLhsl(305, 64%, 44%)
HSVhsv(305, 78%, 71%)
CMYKcmyk(0%, 78%, 7.1%, 28.6%)
CIE-LABlab(44.70, 67.89, -37.21)
CIE-LCHlch(44.70, 77.42, 331.28°)
OKLaboklab(55.26% 0.1952 -0.1024)
OKLCHoklch(55.26% 0.22 332.3)
XYZxyz(27.2117, 14.3296, 38.8611)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628A9 #28B635
analogous
#7C28B6 #B628A9 #B62862
triadic
#B628A9 #A9B628 #28A9B6
tetradic
#B628A9 #B67C28 #28B635 #2862B6
square
#B628A9 #B67C28 #28B635 #2862B6
split-complementary
#B628A9 #62B628 #28B67C
monochromatic
#52124C #841D7A #B628A9 #D645C9 #E177D7

Accessibility & contrast

On white

5.43
#B628A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B628A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628A9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628A9#FFFFFF#000000##FFFFFF
##B628A91.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5DAC
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#BE3A68
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b628a9;
/* rgb */ color: rgb(182, 40, 169);
/* oklch */ color: oklch(55.3% 0.220 332.3);
Tailwind
colors: {
  custom: {
    50: '#d073c3',
    500: '#b628a9',
    950: '#000000',
  },
}
SCSS
$custom: #b628a9;
$custom-light: #d073c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b628a9",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 305.493,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5526,
    "c": 0.22045,
    "h": 332.3
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#B628A9
secondary
#71C979
accent
#E75041
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B628A9

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

Preview Lab → · Contrast checker → · Palette generator →

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