#B751A7#B751A7

#B751A7 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.4% C 0.168 H 333.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B751A7
RGBrgb(183, 81, 167)
HSLhsl(309, 41%, 52%)
HSVhsv(309, 56%, 72%)
CMYKcmyk(0%, 55.7%, 8.7%, 28.2%)
CIE-LABlab(50.39, 52.17, -27.11)
CIE-LCHlch(50.39, 58.80, 332.54°)
OKLaboklab(59.39% 0.1505 -0.0737)
OKLCHoklch(59.39% 0.168 333.9)
XYZxyz(29.4460, 18.7443, 38.6188)
Luminance0.1874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751A7 #51B761
analogous
#9451B7 #B751A7 #B75174
triadic
#B751A7 #A7B751 #51A7B7
tetradic
#B751A7 #B79451 #51B761 #5174B7
square
#B751A7 #B79451 #51B761 #5174B7
split-complementary
#B751A7 #74B751 #51B794
monochromatic
#64295B #8F3B82 #B751A7 #C97CBD #DBA8D3

Accessibility & contrast

On white

4.42
#B751A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B751A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751A7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751A7#FFFFFF#000000##000000
##B751A71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EAA
Deuteranopia (green-blind)
#6E7DA4
Tritanopia (blue-blind)
#BF5875
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b751a7;
/* rgb */ color: rgb(183, 81, 167);
/* oklch */ color: oklch(59.4% 0.168 333.9);
Tailwind
colors: {
  custom: {
    50: '#cf87c1',
    500: '#b751a7',
    950: '#000000',
  },
}
SCSS
$custom: #b751a7;
$custom-light: #cf87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b751a7",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 309.412,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59388,
    "c": 0.16757,
    "h": 333.9
  },
  "luminance": 0.18742
}

Semantic roles & 50–950 ramp

primary
#B751A7
secondary
#9CC8A3
accent
#D16A57
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B751A7

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

Preview Lab → · Contrast checker → · Palette generator →

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