#B651AB#B651AB

#B651AB is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.4% C 0.170 H 331.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B651AB
RGBrgb(182, 81, 171)
HSLhsl(307, 41%, 52%)
HSVhsv(307, 55%, 71%)
CMYKcmyk(0%, 55.5%, 6%, 28.6%)
CIE-LABlab(50.42, 52.56, -29.42)
CIE-LCHlch(50.42, 60.23, 330.76°)
OKLaboklab(59.44% 0.15 -0.0803)
OKLCHoklch(59.44% 0.17 331.8)
XYZxyz(29.5844, 18.7722, 40.5854)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B651AB #51B65C
analogous
#8F51B6 #B651AB #B65179
triadic
#B651AB #ABB651 #51ABB6
tetradic
#B651AB #B68F51 #51B65C #5179B6
square
#B651AB #B68F51 #51B65C #5179B6
split-complementary
#B651AB #79B651 #51B68F
monochromatic
#632A5D #8E3C85 #B651AB #C87CC0 #DAA7D5

Accessibility & contrast

On white

4.42
#B651AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B651AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B651AB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B651AB#FFFFFF#000000##000000
##B651AB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAE
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#BD5977
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b651ab;
/* rgb */ color: rgb(182, 81, 171);
/* oklch */ color: oklch(59.4% 0.170 331.8);
Tailwind
colors: {
  custom: {
    50: '#ce87c4',
    500: '#b651ab',
    950: '#000000',
  },
}
SCSS
$custom: #b651ab;
$custom-light: #ce87c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b651ab",
  "rgb": {
    "r": 182,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 306.535,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59441,
    "c": 0.17018,
    "h": 331.8
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#B651AB
secondary
#9BC8A0
accent
#D16457
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #B651AB

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

Preview Lab → · Contrast checker → · Palette generator →

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