#B531C8#B531C8

#B531C8 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.6% C 0.235 H 322.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B531C8
RGBrgb(181, 49, 200)
HSLhsl(292, 61%, 49%)
HSVhsv(292, 76%, 78%)
CMYKcmyk(9.5%, 75.5%, 0%, 21.6%)
CIE-LABlab(47.23, 70.08, -51.37)
CIE-LCHlch(47.23, 86.89, 323.76°)
OKLaboklab(57.59% 0.1858 -0.1437)
OKLCHoklch(57.59% 0.235 322.3)
XYZxyz(30.5786, 16.1923, 56.1472)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B531C8 #44C831
analogous
#6A31C8 #B531C8 #C83190
triadic
#B531C8 #C8B531 #31C8B5
tetradic
#B531C8 #C86A31 #44C831 #3190C8
square
#B531C8 #C86A31 #44C831 #3190C8
split-complementary
#B531C8 #90C831 #31C86A
monochromatic
#5C1966 #892597 #B531C8 #C85FD8 #D990E4

Accessibility & contrast

On white

4.95
#B531C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B531C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B531C8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B531C8#FFFFFF#000000##FFFFFF
##B531C81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#B74F7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b531c8;
/* rgb */ color: rgb(181, 49, 200);
/* oklch */ color: oklch(57.6% 0.235 322.3);
Tailwind
colors: {
  custom: {
    50: '#cf78d9',
    500: '#b531c8',
    950: '#000000',
  },
}
SCSS
$custom: #b531c8;
$custom-light: #cf78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b531c8",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 292.45,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.23484,
    "h": 322.3
  },
  "luminance": 0.16191
}

Semantic roles & 50–950 ramp

primary
#B531C8
secondary
#90CE86
accent
#E44458
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B531C8

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

Preview Lab → · Contrast checker → · Palette generator →

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