#B751AF#B751AF

#B751AF is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.174 H 330.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B751AF
RGBrgb(183, 81, 175)
HSLhsl(305, 41%, 52%)
HSVhsv(305, 56%, 72%)
CMYKcmyk(0%, 55.7%, 4.4%, 28.2%)
CIE-LABlab(50.74, 53.53, -31.24)
CIE-LCHlch(50.74, 61.98, 329.73°)
OKLaboklab(59.77% 0.1518 -0.0855)
OKLCHoklch(59.77% 0.174 330.6)
XYZxyz(30.2085, 19.0493, 42.6349)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751AF #51B759
analogous
#8C51B7 #B751AF #B7517C
triadic
#B751AF #AFB751 #51AFB7
tetradic
#B751AF #B78C51 #51B759 #517CB7
square
#B751AF #B78C51 #51B759 #517CB7
split-complementary
#B751AF #7CB751 #51B78C
monochromatic
#642960 #8F3B89 #B751AF #C97CC3 #DBA8D7

Accessibility & contrast

On white

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

On black

4.81
#B751AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751AF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751AF#FFFFFF#000000##000000
##B751AF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#6B7EAC
Tritanopia (blue-blind)
#BD5A78
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b751af;
/* rgb */ color: rgb(183, 81, 175);
/* oklch */ color: oklch(59.8% 0.174 330.6);
Tailwind
colors: {
  custom: {
    50: '#cf87c7',
    500: '#b751af',
    950: '#000000',
  },
}
SCSS
$custom: #b751af;
$custom-light: #cf87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b751af",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 304.706,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.17421,
    "h": 330.6
  },
  "luminance": 0.19047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B751AF

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

Preview Lab → · Contrast checker → · Palette generator →

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