#B751BC#B751BC

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

Color values

HEX#B751BC
RGBrgb(183, 81, 188)
HSLhsl(297, 44%, 53%)
HSVhsv(297, 57%, 74%)
CMYKcmyk(2.7%, 56.9%, 0%, 26.3%)
CIE-LABlab(51.36, 55.82, -37.83)
CIE-LCHlch(51.36, 67.43, 325.88°)
OKLaboklab(60.43% 0.1533 -0.1045)
OKLCHoklch(60.43% 0.186 325.7)
XYZxyz(31.5473, 19.5848, 49.6858)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751BC #56BC51
analogous
#8151BC #B751BC #BC518C
triadic
#B751BC #BCB751 #51BCB7
tetradic
#B751BC #BC8151 #56BC51 #518CBC
square
#B751BC #BC8151 #56BC51 #518CBC
split-complementary
#B751BC #8CBC51 #51BC81
monochromatic
#67296A #923A96 #B751BC #C97DCD #DCA9DE

Accessibility & contrast

On white

4.27
#B751BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B751BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751BC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751BC#FFFFFF#000000##000000
##B751BC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4372BF
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#BB5F7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b751bc;
/* rgb */ color: rgb(183, 81, 188);
/* oklch */ color: oklch(60.4% 0.186 325.7);
Tailwind
colors: {
  custom: {
    50: '#cf87d0',
    500: '#b751bc',
    950: '#000000',
  },
}
SCSS
$custom: #b751bc;
$custom-light: #cf87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b751bc",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 297.196,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.18556,
    "h": 325.7
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#B751BC
secondary
#9FCC9D
accent
#D4545A
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B751BC

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

Preview Lab → · Contrast checker → · Palette generator →

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