#B651BA#B651BA

#B651BA is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.183 H 326.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B651BA
RGBrgb(182, 81, 186)
HSLhsl(298, 43%, 52%)
HSVhsv(298, 56%, 73%)
CMYKcmyk(2.2%, 56.5%, 0%, 27.1%)
CIE-LABlab(51.13, 55.20, -37.06)
CIE-LCHlch(51.13, 66.48, 326.12°)
OKLaboklab(60.19% 0.152 -0.1023)
OKLCHoklch(60.19% 0.183 326.1)
XYZxyz(31.0961, 19.3769, 48.5471)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B651BA #55BA51
analogous
#8151BA #B651BA #BA518A
triadic
#B651BA #BAB651 #51BAB6
tetradic
#B651BA #BA8151 #55BA51 #518ABA
square
#B651BA #BA8151 #55BA51 #518ABA
split-complementary
#B651BA #8ABA51 #51BA81
monochromatic
#652968 #903A93 #B651BA #C87DCB #DBA9DD

Accessibility & contrast

On white

4.31
#B651BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B651BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B651BA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B651BA#FFFFFF#000000##000000
##B651BA1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#657EB7
Tritanopia (blue-blind)
#BA5E7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b651ba;
/* rgb */ color: rgb(182, 81, 186);
/* oklch */ color: oklch(60.2% 0.183 326.1);
Tailwind
colors: {
  custom: {
    50: '#ce87cf',
    500: '#b651ba',
    950: '#000000',
  },
}
SCSS
$custom: #b651ba;
$custom-light: #ce87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b651ba",
  "rgb": {
    "r": 182,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 297.714,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60189,
    "c": 0.1832,
    "h": 326.1
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#B651BA
secondary
#9ECA9D
accent
#D3555A
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B651BA

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

Preview Lab → · Contrast checker → · Palette generator →

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