#B732B8#B732B8

#B732B8 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.222 H 327.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B732B8
RGBrgb(183, 50, 184)
HSLhsl(300, 57%, 46%)
HSVhsv(300, 73%, 72%)
CMYKcmyk(0.5%, 72.8%, 0%, 27.8%)
CIE-LABlab(46.73, 67.47, -42.84)
CIE-LCHlch(46.73, 79.92, 327.59°)
OKLaboklab(57% 0.1878 -0.1187)
OKLCHoklch(57% 0.222 327.7)
XYZxyz(29.3204, 15.8113, 46.8457)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B732B8 #33B832
analogous
#7432B8 #B732B8 #B83276
triadic
#B732B8 #B8B732 #32B8B7
tetradic
#B732B8 #B87432 #33B832 #3276B8
square
#B732B8 #B87432 #33B832 #3276B8
split-complementary
#B732B8 #76B832 #32B874
monochromatic
#571858 #872588 #B732B8 #D056D1 #DE86DE

Accessibility & contrast

On white

5.05
#B732B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#B732B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B732B8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B732B8#FFFFFF#000000##FFFFFF
##B732B81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1564BC
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#BD4773
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b732b8;
/* rgb */ color: rgb(183, 50, 184);
/* oklch */ color: oklch(57.0% 0.222 327.7);
Tailwind
colors: {
  custom: {
    50: '#d078ce',
    500: '#b732b8',
    950: '#000000',
  },
}
SCSS
$custom: #b732b8;
$custom-light: #d078ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b732b8",
  "rgb": {
    "r": 183,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 299.552,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57002,
    "c": 0.22219,
    "h": 327.7
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#B732B8
secondary
#7FC87E
accent
#E14748
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B732B8

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

Preview Lab → · Contrast checker → · Palette generator →

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