#B132DB#B132DB

#B132DB is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.4% C 0.248 H 315.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B132DB
RGBrgb(177, 50, 219)
HSLhsl(285, 70%, 53%)
HSVhsv(285, 77%, 86%)
CMYKcmyk(19.2%, 77.2%, 0%, 14.1%)
CIE-LABlab(47.94, 72.45, -61.18)
CIE-LCHlch(47.94, 94.83, 319.82°)
OKLaboklab(58.36% 0.178 -0.1726)
OKLCHoklch(58.36% 0.248 315.9)
XYZxyz(32.0562, 16.7441, 68.5474)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B132DB #5CDB32
analogous
#5D32DB #B132DB #DB32B0
triadic
#B132DB #DBB132 #32DBB1
tetradic
#B132DB #DB5D32 #5CDB32 #32B0DB
square
#B132DB #DB5D32 #5CDB32 #32B0DB
split-complementary
#B132DB #B0DB32 #32DB5D
monochromatic
#63167D #8D1FB1 #B132DB #C566E4 #D99AED

Accessibility & contrast

On white

4.83
#B132DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B132DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B132DB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B132DB#FFFFFF#000000##FFFFFF
##B132DB1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#2E75D7
Tritanopia (blue-blind)
#AE5986
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b132db;
/* rgb */ color: rgb(177, 50, 219);
/* oklch */ color: oklch(58.4% 0.248 315.9);
Tailwind
colors: {
  custom: {
    50: '#cd78e7',
    500: '#b132db',
    950: '#000000',
  },
}
SCSS
$custom: #b132db;
$custom-light: #cd78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b132db",
  "rgb": {
    "r": 177,
    "g": 50,
    "b": 219
  },
  "hsl": {
    "h": 285.089,
    "s": 70.124,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.24789,
    "h": 315.9
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#B132DB
secondary
#A2D990
accent
#ED3B67
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B132DB

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

Preview Lab → · Contrast checker → · Palette generator →

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