#B751BB#B751BB

#B751BB is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.185 H 326.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B751BB
RGBrgb(183, 81, 187)
HSLhsl(298, 44%, 53%)
HSVhsv(298, 57%, 73%)
CMYKcmyk(2.1%, 56.7%, 0%, 26.7%)
CIE-LABlab(51.32, 55.64, -37.33)
CIE-LCHlch(51.32, 67.00, 326.14°)
OKLaboklab(60.37% 0.1533 -0.103)
OKLCHoklch(60.37% 0.185 326.1)
XYZxyz(31.4399, 19.5418, 49.1200)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751BB #55BB51
analogous
#8251BB #B751BB #BB518A
triadic
#B751BB #BBB751 #51BBB7
tetradic
#B751BB #BB8251 #55BB51 #518ABB
square
#B751BB #BB8251 #55BB51 #518ABB
split-complementary
#B751BB #8ABB51 #51BB82
monochromatic
#662969 #913A95 #B751BB #C97DCC #DBA9DD

Accessibility & contrast

On white

4.28
#B751BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B751BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751BB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751BB#FFFFFF#000000##000000
##B751BB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#657FB8
Tritanopia (blue-blind)
#BB5E7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b751bb;
/* rgb */ color: rgb(183, 81, 187);
/* oklch */ color: oklch(60.4% 0.185 326.1);
Tailwind
colors: {
  custom: {
    50: '#cf87d0',
    500: '#b751bb',
    950: '#000000',
  },
}
SCSS
$custom: #b751bb;
$custom-light: #cf87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b751bb",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 297.736,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.18466,
    "h": 326.1
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#B751BB
secondary
#9FCB9D
accent
#D45459
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B751BB

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

Preview Lab → · Contrast checker → · Palette generator →

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