#B751A8#B751A8

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

Color values

HEX#B751A8
RGBrgb(183, 81, 168)
HSLhsl(309, 41%, 52%)
HSVhsv(309, 56%, 72%)
CMYKcmyk(0%, 55.7%, 8.2%, 28.2%)
CIE-LABlab(50.43, 52.34, -27.63)
CIE-LCHlch(50.43, 59.19, 332.17°)
OKLaboklab(59.44% 0.1507 -0.0752)
OKLCHoklch(59.44% 0.168 333.5)
XYZxyz(29.5388, 18.7814, 39.1076)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751A8 #51B760
analogous
#9351B7 #B751A8 #B75175
triadic
#B751A8 #A8B751 #51A8B7
tetradic
#B751A8 #B79351 #51B760 #5175B7
square
#B751A8 #B79351 #51B760 #5175B7
split-complementary
#B751A8 #75B751 #51B793
monochromatic
#64295C #8F3B83 #B751A8 #C97CBE #DBA8D3

Accessibility & contrast

On white

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

On black

4.76
#B751A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751A8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751A8#FFFFFF#000000##000000
##B751A81.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAB
Deuteranopia (green-blind)
#6E7DA5
Tritanopia (blue-blind)
#BF5875
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b751a8;
/* rgb */ color: rgb(183, 81, 168);
/* oklch */ color: oklch(59.4% 0.168 333.5);
Tailwind
colors: {
  custom: {
    50: '#cf87c2',
    500: '#b751a8',
    950: '#000000',
  },
}
SCSS
$custom: #b751a8;
$custom-light: #cf87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b751a8",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 308.824,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59435,
    "c": 0.16838,
    "h": 333.5
  },
  "luminance": 0.18779
}

Semantic roles & 50–950 ramp

primary
#B751A8
secondary
#9CC8A2
accent
#D16957
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B751A8

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

Preview Lab → · Contrast checker → · Palette generator →

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