#B628B1#B628B1

#B628B1 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.7% C 0.226 H 329.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B628B1
RGBrgb(182, 40, 177)
HSLhsl(302, 64%, 44%)
HSVhsv(302, 78%, 71%)
CMYKcmyk(0%, 78%, 2.7%, 28.6%)
CIE-LABlab(45.14, 69.12, -41.26)
CIE-LCHlch(45.14, 80.50, 329.17°)
OKLaboklab(55.71% 0.1953 -0.1141)
OKLCHoklch(55.71% 0.226 329.7)
XYZxyz(27.9858, 14.6392, 42.9381)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628B1 #28B62D
analogous
#7428B6 #B628B1 #B6286A
triadic
#B628B1 #B1B628 #28B1B6
tetradic
#B628B1 #B67428 #28B62D #286AB6
square
#B628B1 #B67428 #28B62D #286AB6
split-complementary
#B628B1 #6AB628 #28B674
monochromatic
#52124F #841D80 #B628B1 #D645D1 #E177DD

Accessibility & contrast

On white

5.35
#B628B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B628B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628B1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628B1#FFFFFF#000000##FFFFFF
##B628B11.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5FB5
Deuteranopia (green-blind)
#5571AE
Tritanopia (blue-blind)
#BD3E6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b628b1;
/* rgb */ color: rgb(182, 40, 177);
/* oklch */ color: oklch(55.7% 0.226 329.7);
Tailwind
colors: {
  custom: {
    50: '#d073c9',
    500: '#b628b1',
    950: '#000000',
  },
}
SCSS
$custom: #b628b1;
$custom-light: #d073c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b628b1",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 302.113,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.22617,
    "h": 329.7
  },
  "luminance": 0.14637
}

Semantic roles & 50–950 ramp

primary
#B628B1
secondary
#71C974
accent
#E74741
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B628B1

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

Preview Lab → · Contrast checker → · Palette generator →

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