#B431BE#B431BE

#B431BE is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.227 H 324.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B431BE
RGBrgb(180, 49, 190)
HSLhsl(296, 59%, 47%)
HSVhsv(296, 74%, 75%)
CMYKcmyk(5.3%, 74.2%, 0%, 25.5%)
CIE-LABlab(46.47, 68.16, -46.78)
CIE-LCHlch(46.47, 82.67, 325.54°)
OKLaboklab(56.84% 0.1853 -0.1303)
OKLCHoklch(56.84% 0.227 324.9)
XYZxyz(29.2142, 15.6195, 50.1813)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431BE #3BBE31
analogous
#6E31BE #B431BE #BE3181
triadic
#B431BE #BEB431 #31BEB4
tetradic
#B431BE #BE6E31 #3BBE31 #3181BE
square
#B431BE #BE6E31 #3BBE31 #3181BE
split-complementary
#B431BE #81BE31 #31BE6E
monochromatic
#58185D #86248D #B431BE #CB58D4 #DA89E1

Accessibility & contrast

On white

5.09
#B431BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B431BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B431BE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B431BE#FFFFFF#000000##FFFFFF
##B431BE1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#4E73BB
Tritanopia (blue-blind)
#B84A76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b431be;
/* rgb */ color: rgb(180, 49, 190);
/* oklch */ color: oklch(56.8% 0.227 324.9);
Tailwind
colors: {
  custom: {
    50: '#ce77d2',
    500: '#b431be',
    950: '#000000',
  },
}
SCSS
$custom: #b431be;
$custom-light: #ce77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b431be",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 295.745,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56836,
    "c": 0.22651,
    "h": 324.9
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#B431BE
secondary
#86CA80
accent
#E24651
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B431BE

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

Preview Lab → · Contrast checker → · Palette generator →

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