#B731A3#B731A3

#B731A3 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.208 H 334.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B731A3
RGBrgb(183, 49, 163)
HSLhsl(309, 58%, 45%)
HSVhsv(309, 73%, 72%)
CMYKcmyk(0%, 73.2%, 10.9%, 28.2%)
CIE-LABlab(45.51, 64.51, -32.35)
CIE-LCHlch(45.51, 72.17, 333.37°)
OKLaboklab(55.77% 0.188 -0.0884)
OKLCHoklch(55.77% 0.208 334.8)
XYZxyz(27.2379, 14.9106, 36.0867)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B731A3 #31B745
analogous
#8831B7 #B731A3 #B73160
triadic
#B731A3 #A3B731 #31A3B7
tetradic
#B731A3 #B78831 #31B745 #3160B7
square
#B731A3 #B78831 #31B745 #3160B7
split-complementary
#B731A3 #60B731 #31B788
monochromatic
#56174D #872478 #B731A3 #D154BF #DE84D1

Accessibility & contrast

On white

5.27
#B731A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B731A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B731A3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B731A3#FFFFFF#000000##FFFFFF
##B731A31.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA6
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#C03C67
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b731a3;
/* rgb */ color: rgb(183, 49, 163);
/* oklch */ color: oklch(55.8% 0.208 334.8);
Tailwind
colors: {
  custom: {
    50: '#d076be',
    500: '#b731a3',
    950: '#000000',
  },
}
SCSS
$custom: #b731a3;
$custom-light: #d076be;
$custom-dark: #000000;
JSON
{
  "hex": "#b731a3",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 308.955,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55774,
    "c": 0.20774,
    "h": 334.8
  },
  "luminance": 0.14908
}

Semantic roles & 50–950 ramp

primary
#B731A3
secondary
#7CC887
accent
#E15E47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B731A3

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

Preview Lab → · Contrast checker → · Palette generator →

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