#B628B8#B628B8

#B628B8 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.1% C 0.231 H 327.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B628B8
RGBrgb(182, 40, 184)
HSLhsl(299, 64%, 44%)
HSVhsv(299, 78%, 72%)
CMYKcmyk(1.1%, 78.3%, 0%, 27.8%)
CIE-LABlab(45.53, 70.22, -44.75)
CIE-LCHlch(45.53, 83.27, 327.50°)
OKLaboklab(56.12% 0.1951 -0.1243)
OKLCHoklch(56.12% 0.231 327.5)
XYZxyz(28.7015, 14.9255, 46.7073)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628B8 #2AB828
analogous
#6E28B8 #B628B8 #B82872
triadic
#B628B8 #B8B628 #28B8B6
tetradic
#B628B8 #B86E28 #2AB828 #2872B8
square
#B628B8 #B86E28 #2AB828 #2872B8
split-complementary
#B628B8 #72B828 #28B86E
monochromatic
#531253 #841D86 #B628B8 #D546D7 #E079E2

Accessibility & contrast

On white

5.27
#B628B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B628B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628B8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628B8#FFFFFF#000000##FFFFFF
##B628B81.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#5072B5
Tritanopia (blue-blind)
#BC4270
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b628b8;
/* rgb */ color: rgb(182, 40, 184);
/* oklch */ color: oklch(56.1% 0.231 327.5);
Tailwind
colors: {
  custom: {
    50: '#d074ce',
    500: '#b628b8',
    950: '#000000',
  },
}
SCSS
$custom: #b628b8;
$custom-light: #d074ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b628b8",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 299.167,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56119,
    "c": 0.2313,
    "h": 327.5
  },
  "luminance": 0.14923
}

Semantic roles & 50–950 ramp

primary
#B628B8
secondary
#73CA72
accent
#E74143
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B628B8

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

Preview Lab → · Contrast checker → · Palette generator →

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