#B751BA#B751BA

#B751BA is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.184 H 326.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B751BA
RGBrgb(183, 81, 186)
HSLhsl(298, 43%, 52%)
HSVhsv(298, 56%, 73%)
CMYKcmyk(1.6%, 56.5%, 0%, 27.1%)
CIE-LABlab(51.27, 55.46, -36.83)
CIE-LCHlch(51.27, 66.58, 326.42°)
OKLaboklab(60.32% 0.1532 -0.1016)
OKLCHoklch(60.32% 0.184 326.4)
XYZxyz(31.3332, 19.4991, 48.5582)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751BA #54BA51
analogous
#8351BA #B751BA #BA5188
triadic
#B751BA #BAB751 #51BAB7
tetradic
#B751BA #BA8351 #54BA51 #5188BA
square
#B751BA #BA8351 #54BA51 #5188BA
split-complementary
#B751BA #88BA51 #51BA83
monochromatic
#662968 #913A93 #B751BA #C97DCB #DBA9DD

Accessibility & contrast

On white

4.29
#B751BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B751BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751BA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751BA#FFFFFF#000000##000000
##B751BA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#667FB7
Tritanopia (blue-blind)
#BC5E7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b751ba;
/* rgb */ color: rgb(183, 81, 186);
/* oklch */ color: oklch(60.3% 0.184 326.4);
Tailwind
colors: {
  custom: {
    50: '#cf87cf',
    500: '#b751ba',
    950: '#000000',
  },
}
SCSS
$custom: #b751ba;
$custom-light: #cf87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b751ba",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 298.286,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.18378,
    "h": 326.4
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#B751BA
secondary
#9ECA9D
accent
#D35558
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B751BA

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

Preview Lab → · Contrast checker → · Palette generator →

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