#B751AE#B751AE

#B751AE is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.7% C 0.173 H 331.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B751AE
RGBrgb(183, 81, 174)
HSLhsl(305, 41%, 52%)
HSVhsv(305, 56%, 72%)
CMYKcmyk(0%, 55.7%, 4.9%, 28.2%)
CIE-LABlab(50.70, 53.35, -30.73)
CIE-LCHlch(50.70, 61.57, 330.06°)
OKLaboklab(59.72% 0.1516 -0.084)
OKLCHoklch(59.72% 0.173 331)
XYZxyz(30.1107, 19.0101, 42.1196)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751AE #51B75A
analogous
#8D51B7 #B751AE #B7517B
triadic
#B751AE #AEB751 #51AEB7
tetradic
#B751AE #B78D51 #51B75A #517BB7
square
#B751AE #B78D51 #51B75A #517BB7
split-complementary
#B751AE #7BB751 #51B78D
monochromatic
#64295F #8F3B88 #B751AE #C97CC2 #DBA8D6

Accessibility & contrast

On white

4.37
#B751AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B751AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751AE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751AE#FFFFFF#000000##000000
##B751AE1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B1
Deuteranopia (green-blind)
#6B7EAB
Tritanopia (blue-blind)
#BE5A78
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b751ae;
/* rgb */ color: rgb(183, 81, 174);
/* oklch */ color: oklch(59.7% 0.173 331.0);
Tailwind
colors: {
  custom: {
    50: '#cf87c6',
    500: '#b751ae',
    950: '#000000',
  },
}
SCSS
$custom: #b751ae;
$custom-light: #cf87c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b751ae",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 305.294,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.17336,
    "h": 331
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#B751AE
secondary
#9CC89F
accent
#D16157
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B751AE

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

Preview Lab → · Contrast checker → · Palette generator →

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