#B751B5#B751B5

#B751B5 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.1% C 0.179 H 328.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B751B5
RGBrgb(183, 81, 181)
HSLhsl(301, 41%, 52%)
HSVhsv(301, 56%, 72%)
CMYKcmyk(0%, 55.7%, 1.1%, 28.2%)
CIE-LABlab(51.02, 54.57, -34.30)
CIE-LCHlch(51.02, 64.46, 327.85°)
OKLaboklab(60.07% 0.1526 -0.0943)
OKLCHoklch(60.07% 0.179 328.3)
XYZxyz(30.8109, 19.2902, 45.8076)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751B5 #51B753
analogous
#8651B7 #B751B5 #B75182
triadic
#B751B5 #B5B751 #51B5B7
tetradic
#B751B5 #B78651 #51B753 #5182B7
square
#B751B5 #B78651 #51B753 #5182B7
split-complementary
#B751B5 #82B751 #51B786
monochromatic
#642963 #8F3B8E #B751B5 #C97CC7 #DBA8DA

Accessibility & contrast

On white

4.32
#B751B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B751B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751B5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751B5#FFFFFF#000000##000000
##B751B51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B8
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#BC5C7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b751b5;
/* rgb */ color: rgb(183, 81, 181);
/* oklch */ color: oklch(60.1% 0.179 328.3);
Tailwind
colors: {
  custom: {
    50: '#cf87cb',
    500: '#b751b5',
    950: '#000000',
  },
}
SCSS
$custom: #b751b5;
$custom-light: #cf87cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b751b5",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 301.176,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60066,
    "c": 0.17937,
    "h": 328.3
  },
  "luminance": 0.19288
}

Semantic roles & 50–950 ramp

primary
#B751B5
secondary
#9CC89C
accent
#D15957
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B751B5

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

Preview Lab → · Contrast checker → · Palette generator →

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