#B627BA#B627BA

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

Color values

HEX#B627BA
RGBrgb(182, 39, 186)
HSLhsl(298, 65%, 44%)
HSVhsv(298, 79%, 73%)
CMYKcmyk(2.2%, 79%, 0%, 27.1%)
CIE-LABlab(45.56, 70.81, -45.88)
CIE-LCHlch(45.56, 84.37, 327.06°)
OKLaboklab(56.17% 0.1957 -0.1276)
OKLCHoklch(56.17% 0.234 326.9)
XYZxyz(28.8794, 14.9434, 47.8081)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B627BA #2BBA27
analogous
#6D27BA #B627BA #BA2775
triadic
#B627BA #BAB627 #27BAB6
tetradic
#B627BA #BA6D27 #2BBA27 #2775BA
square
#B627BA #BA6D27 #2BBA27 #2775BA
split-complementary
#B627BA #75BA27 #27BA6D
monochromatic
#531255 #841C87 #B627BA #D446D8 #E079E3

Accessibility & contrast

On white

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

On black

3.99
#B627BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B627BA#FFFFFF#000000##FFFFFF
##B627BA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#BB4271
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b627ba;
/* rgb */ color: rgb(182, 39, 186);
/* oklch */ color: oklch(56.2% 0.234 326.9);
Tailwind
colors: {
  custom: {
    50: '#d073cf',
    500: '#b627ba',
    950: '#000000',
  },
}
SCSS
$custom: #b627ba;
$custom-light: #d073cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b627ba",
  "rgb": {
    "r": 182,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 298.367,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.23362,
    "h": 326.9
  },
  "luminance": 0.14941
}

Semantic roles & 50–950 ramp

primary
#B627BA
secondary
#75CB72
accent
#E84044
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140914
muted
#837B82

Preview Lab

Preview with #B627BA

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

Preview Lab → · Contrast checker → · Palette generator →

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