#B628A2#B628A2

#B628A2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.216 H 334.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B628A2
RGBrgb(182, 40, 162)
HSLhsl(308, 64%, 44%)
HSVhsv(308, 78%, 71%)
CMYKcmyk(0%, 78%, 11%, 28.6%)
CIE-LABlab(44.34, 66.86, -33.61)
CIE-LCHlch(44.34, 74.83, 333.31°)
OKLaboklab(54.88% 0.195 -0.092)
OKLCHoklch(54.88% 0.216 334.7)
XYZxyz(26.5721, 14.0737, 35.4925)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628A2 #28B63C
analogous
#8328B6 #B628A2 #B6285B
triadic
#B628A2 #A2B628 #28A2B6
tetradic
#B628A2 #B68328 #28B63C #285BB6
square
#B628A2 #B68328 #28B63C #285BB6
split-complementary
#B628A2 #5BB628 #28B683
monochromatic
#521249 #841D75 #B628A2 #D645C2 #E177D2

Accessibility & contrast

On white

5.51
#B628A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B628A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628A2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628A2#FFFFFF#000000##FFFFFF
##B628A21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#BF3664
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b628a2;
/* rgb */ color: rgb(182, 40, 162);
/* oklch */ color: oklch(54.9% 0.216 334.7);
Tailwind
colors: {
  custom: {
    50: '#d073be',
    500: '#b628a2',
    950: '#000000',
  },
}
SCSS
$custom: #b628a2;
$custom-light: #d073be;
$custom-dark: #000000;
JSON
{
  "hex": "#b628a2",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 308.451,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54882,
    "c": 0.21559,
    "h": 334.7
  },
  "luminance": 0.14071
}

Semantic roles & 50–950 ramp

primary
#B628A2
secondary
#71C97D
accent
#E75841
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B628A2

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

Preview Lab → · Contrast checker → · Palette generator →

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