#B627A5#B627A5

#B627A5 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.219 H 333.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B627A5
RGBrgb(182, 39, 165)
HSLhsl(307, 65%, 43%)
HSVhsv(307, 79%, 71%)
CMYKcmyk(0%, 78.6%, 9.3%, 28.6%)
CIE-LABlab(44.40, 67.57, -35.31)
CIE-LCHlch(44.40, 76.24, 332.41°)
OKLaboklab(54.97% 0.1959 -0.0969)
OKLCHoklch(54.97% 0.219 333.7)
XYZxyz(26.8087, 14.1151, 36.9026)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B627A5 #27B638
analogous
#7F27B6 #B627A5 #B6275D
triadic
#B627A5 #A5B627 #27A5B6
tetradic
#B627A5 #B67F27 #27B638 #275DB6
square
#B627A5 #B67F27 #27B638 #275DB6
split-complementary
#B627A5 #5DB627 #27B67F
monochromatic
#51114A #841C77 #B627A5 #D743C5 #E276D5

Accessibility & contrast

On white

5.49
#B627A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B627A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B627A5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B627A5#FFFFFF#000000##FFFFFF
##B627A51.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215CA8
Deuteranopia (green-blind)
#5B70A2
Tritanopia (blue-blind)
#BF3765
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b627a5;
/* rgb */ color: rgb(182, 39, 165);
/* oklch */ color: oklch(55.0% 0.219 333.7);
Tailwind
colors: {
  custom: {
    50: '#d072c0',
    500: '#b627a5',
    950: '#000000',
  },
}
SCSS
$custom: #b627a5;
$custom-light: #d072c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b627a5",
  "rgb": {
    "r": 182,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 307.133,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54974,
    "c": 0.21856,
    "h": 333.7
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#B627A5
secondary
#70C97A
accent
#E85440
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B627A5

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

Preview Lab → · Contrast checker → · Palette generator →

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