#B731BB#B731BB

#B731BB is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.226 H 326.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B731BB
RGBrgb(183, 49, 187)
HSLhsl(298, 58%, 46%)
HSVhsv(298, 74%, 73%)
CMYKcmyk(2.1%, 73.8%, 0%, 26.7%)
CIE-LABlab(46.78, 68.28, -44.50)
CIE-LCHlch(46.78, 81.51, 326.91°)
OKLaboklab(57.1% 0.1886 -0.1236)
OKLCHoklch(57.1% 0.226 326.8)
XYZxyz(29.5959, 15.8538, 48.5053)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731BB #35BB31
analogous
#7231BB #B731BB #BB317A
triadic
#B731BB #BBB731 #31BBB7
tetradic
#B731BB #BB7231 #35BB31 #317ABB
square
#B731BB #BB7231 #35BB31 #317ABB
split-complementary
#B731BB #7ABB31 #31BB72
monochromatic
#58185A #88248B #B731BB #CF56D3 #DD87E0

Accessibility & contrast

On white

5.04
#B731BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B731BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731BB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731BB#FFFFFF#000000##FFFFFF
##B731BB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#BC4874
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b731bb;
/* rgb */ color: rgb(183, 49, 187);
/* oklch */ color: oklch(57.1% 0.226 326.8);
Tailwind
colors: {
  custom: {
    50: '#d177d0',
    500: '#b731bb',
    950: '#000000',
  },
}
SCSS
$custom: #b731bb;
$custom-light: #d177d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b731bb",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 298.261,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57096,
    "c": 0.22552,
    "h": 326.8
  },
  "luminance": 0.15852
}

Semantic roles & 50–950 ramp

primary
#B731BB
secondary
#81C97F
accent
#E2464B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B731BB

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

Preview Lab → · Contrast checker → · Palette generator →

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