#B628B0#B628B0

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

Color values

HEX#B628B0
RGBrgb(182, 40, 176)
HSLhsl(303, 64%, 44%)
HSVhsv(303, 78%, 71%)
CMYKcmyk(0%, 78%, 3.3%, 28.6%)
CIE-LABlab(45.08, 68.96, -40.75)
CIE-LCHlch(45.08, 80.11, 329.42°)
OKLaboklab(55.65% 0.1953 -0.1127)
OKLCHoklch(55.65% 0.225 330)
XYZxyz(27.8865, 14.5995, 42.4151)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628B0 #28B62E
analogous
#7528B6 #B628B0 #B62869
triadic
#B628B0 #B0B628 #28B0B6
tetradic
#B628B0 #B67528 #28B62E #2869B6
square
#B628B0 #B67528 #28B62E #2869B6
split-complementary
#B628B0 #69B628 #28B675
monochromatic
#52124F #841D7F #B628B0 #D645D0 #E177DD

Accessibility & contrast

On white

5.36
#B628B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B628B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628B0
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628B0#FFFFFF#000000##FFFFFF
##B628B01.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5FB4
Deuteranopia (green-blind)
#5571AD
Tritanopia (blue-blind)
#BD3D6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b628b0;
/* rgb */ color: rgb(182, 40, 176);
/* oklch */ color: oklch(55.7% 0.225 330.0);
Tailwind
colors: {
  custom: {
    50: '#d073c8',
    500: '#b628b0',
    950: '#000000',
  },
}
SCSS
$custom: #b628b0;
$custom-light: #d073c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b628b0",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 302.535,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.22545,
    "h": 330
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#B628B0
secondary
#71C975
accent
#E74841
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B628B0

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

Preview Lab → · Contrast checker → · Palette generator →

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