#B628BD#B628BD

#B628BD is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.4% C 0.235 H 326.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B628BD
RGBrgb(182, 40, 189)
HSLhsl(297, 65%, 45%)
HSVhsv(297, 79%, 74%)
CMYKcmyk(3.7%, 78.8%, 0%, 25.9%)
CIE-LABlab(45.82, 71.03, -47.21)
CIE-LCHlch(45.82, 85.29, 326.39°)
OKLaboklab(56.42% 0.1948 -0.1314)
OKLCHoklch(56.42% 0.235 326)
XYZxyz(29.2349, 15.1388, 49.5165)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628BD #2FBD28
analogous
#6B28BD #B628BD #BD287A
triadic
#B628BD #BDB628 #28BDB6
tetradic
#B628BD #BD6B28 #2FBD28 #287ABD
square
#B628BD #BD6B28 #2FBD28 #287ABD
split-complementary
#B628BD #7ABD28 #28BD6B
monochromatic
#551358 #851D8A #B628BD #D24AD9 #DE7CE3

Accessibility & contrast

On white

5.21
#B628BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B628BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628BD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628BD#FFFFFF#000000##FFFFFF
##B628BD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#4D72BA
Tritanopia (blue-blind)
#BB4473
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b628bd;
/* rgb */ color: rgb(182, 40, 189);
/* oklch */ color: oklch(56.4% 0.235 326.0);
Tailwind
colors: {
  custom: {
    50: '#d074d1',
    500: '#b628bd',
    950: '#000000',
  },
}
SCSS
$custom: #b628bd;
$custom-light: #d074d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b628bd",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 297.181,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5642,
    "c": 0.235,
    "h": 326
  },
  "luminance": 0.15137
}

Semantic roles & 50–950 ramp

primary
#B628BD
secondary
#79CB75
accent
#E84048
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B628BD

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

Preview Lab → · Contrast checker → · Palette generator →

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