#B751B4#B751B4

#B751B4 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.0% C 0.178 H 328.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B751B4
RGBrgb(183, 81, 180)
HSLhsl(302, 41%, 52%)
HSVhsv(302, 56%, 72%)
CMYKcmyk(0%, 55.7%, 1.6%, 28.2%)
CIE-LABlab(50.98, 54.40, -33.79)
CIE-LCHlch(50.98, 64.04, 328.15°)
OKLaboklab(60.02% 0.1525 -0.0928)
OKLCHoklch(60.02% 0.178 328.7)
XYZxyz(30.7087, 19.2493, 45.2692)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751B4 #51B754
analogous
#8751B7 #B751B4 #B75181
triadic
#B751B4 #B4B751 #51B4B7
tetradic
#B751B4 #B78751 #51B754 #5181B7
square
#B751B4 #B78751 #51B754 #5181B7
split-complementary
#B751B4 #81B751 #51B787
monochromatic
#642962 #8F3B8D #B751B4 #C97CC7 #DBA8D9

Accessibility & contrast

On white

4.33
#B751B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B751B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751B4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751B4#FFFFFF#000000##000000
##B751B41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4871B7
Deuteranopia (green-blind)
#697EB1
Tritanopia (blue-blind)
#BD5C7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b751b4;
/* rgb */ color: rgb(183, 81, 180);
/* oklch */ color: oklch(60.0% 0.178 328.7);
Tailwind
colors: {
  custom: {
    50: '#cf87cb',
    500: '#b751b4',
    950: '#000000',
  },
}
SCSS
$custom: #b751b4;
$custom-light: #cf87cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b751b4",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 301.765,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60016,
    "c": 0.17849,
    "h": 328.7
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#B751B4
secondary
#9CC89D
accent
#D15A57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B751B4

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

Preview Lab → · Contrast checker → · Palette generator →

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