#B751BF#B751BF

#B751BF is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.6% C 0.188 H 324.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B751BF
RGBrgb(183, 81, 191)
HSLhsl(296, 46%, 53%)
HSVhsv(296, 58%, 75%)
CMYKcmyk(4.2%, 57.6%, 0%, 25.1%)
CIE-LABlab(51.51, 56.37, -39.33)
CIE-LCHlch(51.51, 68.73, 325.10°)
OKLaboklab(60.58% 0.1536 -0.1088)
OKLCHoklch(60.58% 0.188 324.7)
XYZxyz(31.8741, 19.7155, 51.4067)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751BF #59BF51
analogous
#8051BF #B751BF #BF5190
triadic
#B751BF #BFB751 #51BFB7
tetradic
#B751BF #BF8051 #59BF51 #5190BF
square
#B751BF #BF8051 #59BF51 #5190BF
split-complementary
#B751BF #90BF51 #51BF80
monochromatic
#68286D #93399A #B751BF #CA7ECF #DCAAE0

Accessibility & contrast

On white

4.25
#B751BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B751BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751BF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751BF#FFFFFF#000000##000000
##B751BF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4073C2
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#BB6080
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b751bf;
/* rgb */ color: rgb(183, 81, 191);
/* oklch */ color: oklch(60.6% 0.188 324.7);
Tailwind
colors: {
  custom: {
    50: '#cf87d3',
    500: '#b751bf',
    950: '#000000',
  },
}
SCSS
$custom: #b751bf;
$custom-light: #cf87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b751bf",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 295.636,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.18825,
    "h": 324.7
  },
  "luminance": 0.19714
}

Semantic roles & 50–950 ramp

primary
#B751BF
secondary
#A2CE9E
accent
#D6525C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B751BF

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

Preview Lab → · Contrast checker → · Palette generator →

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