#B751AC#B751AC

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

Color values

HEX#B751AC
RGBrgb(183, 81, 172)
HSLhsl(306, 41%, 52%)
HSVhsv(306, 56%, 72%)
CMYKcmyk(0%, 55.7%, 6%, 28.2%)
CIE-LABlab(50.61, 53.01, -29.70)
CIE-LCHlch(50.61, 60.77, 330.74°)
OKLaboklab(59.62% 0.1513 -0.0811)
OKLCHoklch(59.62% 0.172 331.8)
XYZxyz(29.9172, 18.9327, 41.1004)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751AC #51B75C
analogous
#8F51B7 #B751AC #B75179
triadic
#B751AC #ACB751 #51ACB7
tetradic
#B751AC #B78F51 #51B75C #5179B7
square
#B751AC #B78F51 #51B75C #5179B7
split-complementary
#B751AC #79B751 #51B78F
monochromatic
#64295E #8F3B86 #B751AC #C97CC1 #DBA8D5

Accessibility & contrast

On white

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

On black

4.79
#B751AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751AC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751AC#FFFFFF#000000##000000
##B751AC1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b751ac;
/* rgb */ color: rgb(183, 81, 172);
/* oklch */ color: oklch(59.6% 0.172 331.8);
Tailwind
colors: {
  custom: {
    50: '#cf87c5',
    500: '#b751ac',
    950: '#000000',
  },
}
SCSS
$custom: #b751ac;
$custom-light: #cf87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b751ac",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 306.471,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59624,
    "c": 0.17168,
    "h": 331.8
  },
  "luminance": 0.18931
}

Semantic roles & 50–950 ramp

primary
#B751AC
secondary
#9CC8A0
accent
#D16457
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B751AC

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

Preview Lab → · Contrast checker → · Palette generator →

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