#B751BD#B751BD

#B751BD is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.5% C 0.186 H 325.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B751BD
RGBrgb(183, 81, 189)
HSLhsl(297, 45%, 53%)
HSVhsv(297, 57%, 74%)
CMYKcmyk(3.2%, 57.1%, 0%, 25.9%)
CIE-LABlab(51.41, 56.01, -38.33)
CIE-LCHlch(51.41, 67.87, 325.61°)
OKLaboklab(60.48% 0.1534 -0.1059)
OKLCHoklch(60.48% 0.186 325.4)
XYZxyz(31.6555, 19.6280, 50.2555)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751BD #57BD51
analogous
#8151BD #B751BD #BD518D
triadic
#B751BD #BDB751 #51BDB7
tetradic
#B751BD #BD8151 #57BD51 #518DBD
square
#B751BD #BD8151 #57BD51 #518DBD
split-complementary
#B751BD #8DBD51 #51BD81
monochromatic
#67296B #923997 #B751BD #C97DCE #DCAADF

Accessibility & contrast

On white

4.26
#B751BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B751BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751BD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751BD#FFFFFF#000000##000000
##B751BD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272C0
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#BB5F7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b751bd;
/* rgb */ color: rgb(183, 81, 189);
/* oklch */ color: oklch(60.5% 0.186 325.4);
Tailwind
colors: {
  custom: {
    50: '#cf87d1',
    500: '#b751bd',
    950: '#000000',
  },
}
SCSS
$custom: #b751bd;
$custom-light: #cf87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b751bd",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 296.667,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60477,
    "c": 0.18645,
    "h": 325.4
  },
  "luminance": 0.19626
}

Semantic roles & 50–950 ramp

primary
#B751BD
secondary
#A0CC9E
accent
#D5535A
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B751BD

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

Preview Lab → · Contrast checker → · Palette generator →

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