#B628AF#B628AF

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

Color values

HEX#B628AF
RGBrgb(182, 40, 175)
HSLhsl(303, 64%, 44%)
HSVhsv(303, 78%, 71%)
CMYKcmyk(0%, 78%, 3.8%, 28.6%)
CIE-LABlab(45.03, 68.81, -40.25)
CIE-LCHlch(45.03, 79.72, 329.67°)
OKLaboklab(55.6% 0.1953 -0.1112)
OKLCHoklch(55.6% 0.225 330.3)
XYZxyz(27.7880, 14.5600, 41.8960)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B628AF #28B62F
analogous
#7628B6 #B628AF #B62868
triadic
#B628AF #AFB628 #28AFB6
tetradic
#B628AF #B67628 #28B62F #2868B6
square
#B628AF #B67628 #28B62F #2868B6
split-complementary
#B628AF #68B628 #28B676
monochromatic
#52124F #841D7F #B628AF #D645CF #E177DC

Accessibility & contrast

On white

5.37
#B628AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B628AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B628AF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B628AF#FFFFFF#000000##FFFFFF
##B628AF1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115EB3
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#BD3D6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b628af;
/* rgb */ color: rgb(182, 40, 175);
/* oklch */ color: oklch(55.6% 0.225 330.3);
Tailwind
colors: {
  custom: {
    50: '#d073c7',
    500: '#b628af',
    950: '#000000',
  },
}
SCSS
$custom: #b628af;
$custom-light: #d073c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b628af",
  "rgb": {
    "r": 182,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 302.958,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55596,
    "c": 0.22473,
    "h": 330.3
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B628AF

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

Preview Lab → · Contrast checker → · Palette generator →

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