#B751B1#B751B1

#B751B1 is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.9% C 0.176 H 329.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B751B1
RGBrgb(183, 81, 177)
HSLhsl(304, 41%, 52%)
HSVhsv(304, 56%, 72%)
CMYKcmyk(0%, 55.7%, 3.3%, 28.2%)
CIE-LABlab(50.84, 53.87, -32.26)
CIE-LCHlch(50.84, 62.79, 329.08°)
OKLaboklab(59.87% 0.1521 -0.0885)
OKLCHoklch(59.87% 0.176 329.8)
XYZxyz(30.4064, 19.1284, 43.6771)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751B1 #51B757
analogous
#8A51B7 #B751B1 #B7517E
triadic
#B751B1 #B1B751 #51B1B7
tetradic
#B751B1 #B78A51 #51B757 #517EB7
square
#B751B1 #B78A51 #51B757 #517EB7
split-complementary
#B751B1 #7EB751 #51B78A
monochromatic
#642961 #8F3B8A #B751B1 #C97CC4 #DBA8D8

Accessibility & contrast

On white

4.35
#B751B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B751B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751B1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751B1#FFFFFF#000000##000000
##B751B11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#6A7EAE
Tritanopia (blue-blind)
#BD5B79
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b751b1;
/* rgb */ color: rgb(183, 81, 177);
/* oklch */ color: oklch(59.9% 0.176 329.8);
Tailwind
colors: {
  custom: {
    50: '#cf87c8',
    500: '#b751b1',
    950: '#000000',
  },
}
SCSS
$custom: #b751b1;
$custom-light: #cf87c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b751b1",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 303.529,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.17591,
    "h": 329.8
  },
  "luminance": 0.19126
}

Semantic roles & 50–950 ramp

primary
#B751B1
secondary
#9CC89E
accent
#D15E57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B751B1

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

Preview Lab → · Contrast checker → · Palette generator →

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