#B731BE#B731BE

#B731BE is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.228 H 325.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B731BE
RGBrgb(183, 49, 190)
HSLhsl(297, 59%, 47%)
HSVhsv(297, 74%, 75%)
CMYKcmyk(3.7%, 74.2%, 0%, 25.5%)
CIE-LABlab(46.95, 68.78, -45.98)
CIE-LCHlch(46.95, 82.74, 326.24°)
OKLaboklab(57.27% 0.1886 -0.1279)
OKLCHoklch(57.27% 0.228 325.8)
XYZxyz(29.9204, 15.9836, 50.2144)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731BE #38BE31
analogous
#7031BE #B731BE #BE317F
triadic
#B731BE #BEB731 #31BEB7
tetradic
#B731BE #BE7031 #38BE31 #317FBE
square
#B731BE #BE7031 #38BE31 #317FBE
split-complementary
#B731BE #7FBE31 #31BE70
monochromatic
#59185D #88248D #B731BE #CE58D4 #DC89E1

Accessibility & contrast

On white

5.00
#B731BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B731BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731BE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731BE#FFFFFF#000000##FFFFFF
##B731BE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#BC4976
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b731be;
/* rgb */ color: rgb(183, 49, 190);
/* oklch */ color: oklch(57.3% 0.228 325.8);
Tailwind
colors: {
  custom: {
    50: '#d177d2',
    500: '#b731be',
    950: '#000000',
  },
}
SCSS
$custom: #b731be;
$custom-light: #d177d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b731be",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 297.021,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57273,
    "c": 0.22784,
    "h": 325.8
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#B731BE
secondary
#84CA80
accent
#E2464D
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B731BE

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

Preview Lab → · Contrast checker → · Palette generator →

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