#B751AB#B751AB

#B751AB is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.6% C 0.171 H 332.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B751AB
RGBrgb(183, 81, 171)
HSLhsl(307, 41%, 52%)
HSVhsv(307, 56%, 72%)
CMYKcmyk(0%, 55.7%, 6.6%, 28.2%)
CIE-LABlab(50.56, 52.84, -29.18)
CIE-LCHlch(50.56, 60.37, 331.09°)
OKLaboklab(59.58% 0.1512 -0.0796)
OKLCHoklch(59.58% 0.171 332.2)
XYZxyz(29.8215, 18.8945, 40.5965)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751AB #51B75D
analogous
#9051B7 #B751AB #B75178
triadic
#B751AB #ABB751 #51ABB7
tetradic
#B751AB #B79051 #51B75D #5178B7
square
#B751AB #B79051 #51B75D #5178B7
split-complementary
#B751AB #78B751 #51B790
monochromatic
#64295D #8F3B86 #B751AB #C97CC0 #DBA8D5

Accessibility & contrast

On white

4.39
#B751AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B751AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751AB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751AB#FFFFFF#000000##000000
##B751AB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAE
Deuteranopia (green-blind)
#6D7EA8
Tritanopia (blue-blind)
#BE5977
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b751ab;
/* rgb */ color: rgb(183, 81, 171);
/* oklch */ color: oklch(59.6% 0.171 332.2);
Tailwind
colors: {
  custom: {
    50: '#cf87c4',
    500: '#b751ab',
    950: '#000000',
  },
}
SCSS
$custom: #b751ab;
$custom-light: #cf87c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b751ab",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 307.059,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.17085,
    "h": 332.2
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#B751AB
secondary
#9CC8A1
accent
#D16557
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #B751AB

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

Preview Lab → · Contrast checker → · Palette generator →

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