#B751AA#B751AA

#B751AA is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.5% C 0.170 H 332.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B751AA
RGBrgb(183, 81, 170)
HSLhsl(308, 41%, 52%)
HSVhsv(308, 56%, 72%)
CMYKcmyk(0%, 55.7%, 7.1%, 28.2%)
CIE-LABlab(50.52, 52.68, -28.67)
CIE-LCHlch(50.52, 59.97, 331.44°)
OKLaboklab(59.53% 0.151 -0.0782)
OKLCHoklch(59.53% 0.17 332.6)
XYZxyz(29.7265, 18.8565, 40.0964)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751AA #51B75E
analogous
#9151B7 #B751AA #B75177
triadic
#B751AA #AAB751 #51AAB7
tetradic
#B751AA #B79151 #51B75E #5177B7
square
#B751AA #B79151 #51B75E #5177B7
split-complementary
#B751AA #77B751 #51B791
monochromatic
#64295D #8F3B85 #B751AA #C97CBF #DBA8D4

Accessibility & contrast

On white

4.40
#B751AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B751AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751AA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751AA#FFFFFF#000000##000000
##B751AA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#6D7EA7
Tritanopia (blue-blind)
#BE5976
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b751aa;
/* rgb */ color: rgb(183, 81, 170);
/* oklch */ color: oklch(59.5% 0.170 332.6);
Tailwind
colors: {
  custom: {
    50: '#cf87c3',
    500: '#b751aa',
    950: '#000000',
  },
}
SCSS
$custom: #b751aa;
$custom-light: #cf87c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b751aa",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 307.647,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.17003,
    "h": 332.6
  },
  "luminance": 0.18854
}

Semantic roles & 50–950 ramp

primary
#B751AA
secondary
#9CC8A1
accent
#D16657
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #B751AA

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

Preview Lab → · Contrast checker → · Palette generator →

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