#B531D3#B531D3

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

Color values

HEX#B531D3
RGBrgb(181, 49, 211)
HSLhsl(289, 65%, 51%)
HSVhsv(289, 77%, 83%)
CMYKcmyk(14.2%, 76.8%, 0%, 17.3%)
CIE-LABlab(47.91, 72.03, -56.61)
CIE-LCHlch(47.91, 91.61, 321.84°)
OKLaboklab(58.3% 0.1846 -0.159)
OKLCHoklch(58.3% 0.244 319.3)
XYZxyz(31.9107, 16.7251, 63.1628)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B531D3 #4FD331
analogous
#6431D3 #B531D3 #D331A0
triadic
#B531D3 #D3B531 #31D3B5
tetradic
#B531D3 #D36431 #4FD331 #31A0D3
square
#B531D3 #D36431 #4FD331 #31A0D3
split-complementary
#B531D3 #A0D331 #31D364
monochromatic
#611871 #8C23A4 #B531D3 #C763DE #D996E9

Accessibility & contrast

On white

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

On black

4.34
#B531D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B531D3#FFFFFF#000000##FFFFFF
##B531D31.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#3E76CF
Tritanopia (blue-blind)
#B55482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b531d3;
/* rgb */ color: rgb(181, 49, 211);
/* oklch */ color: oklch(58.3% 0.244 319.3);
Tailwind
colors: {
  custom: {
    50: '#d078e1',
    500: '#b531d3',
    950: '#000000',
  },
}
SCSS
$custom: #b531d3;
$custom-light: #d078e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b531d3",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 211
  },
  "hsl": {
    "h": 288.889,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58299,
    "c": 0.24366,
    "h": 319.3
  },
  "luminance": 0.16724
}

Semantic roles & 50–950 ramp

primary
#B531D3
secondary
#99D48C
accent
#E8405F
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B531D3

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

Preview Lab → · Contrast checker → · Palette generator →

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