#B751AD#B751AD

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

Color values

HEX#B751AD
RGBrgb(183, 81, 173)
HSLhsl(306, 41%, 52%)
HSVhsv(306, 56%, 72%)
CMYKcmyk(0%, 55.7%, 5.5%, 28.2%)
CIE-LABlab(50.65, 53.18, -30.21)
CIE-LCHlch(50.65, 61.17, 330.40°)
OKLaboklab(59.67% 0.1515 -0.0826)
OKLCHoklch(59.67% 0.173 331.4)
XYZxyz(30.0136, 18.9713, 41.6081)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751AD #51B75B
analogous
#8E51B7 #B751AD #B7517A
triadic
#B751AD #ADB751 #51ADB7
tetradic
#B751AD #B78E51 #51B75B #517AB7
square
#B751AD #B78E51 #51B75B #517AB7
split-complementary
#B751AD #7AB751 #51B78E
monochromatic
#64295E #8F3B87 #B751AD #C97CC1 #DBA8D6

Accessibility & contrast

On white

4.38
#B751AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B751AD#FFFFFF#000000##000000
##B751AD1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FB0
Deuteranopia (green-blind)
#6C7EAA
Tritanopia (blue-blind)
#BE5A77
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b751ad;
/* rgb */ color: rgb(183, 81, 173);
/* oklch */ color: oklch(59.7% 0.173 331.4);
Tailwind
colors: {
  custom: {
    50: '#cf87c5',
    500: '#b751ad',
    950: '#000000',
  },
}
SCSS
$custom: #b751ad;
$custom-light: #cf87c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b751ad",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 305.882,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59672,
    "c": 0.17252,
    "h": 331.4
  },
  "luminance": 0.18969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B751AD

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

Preview Lab → · Contrast checker → · Palette generator →

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