#B431B6#B431B6

#B431B6 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.220 H 327.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B431B6
RGBrgb(180, 49, 182)
HSLhsl(299, 58%, 45%)
HSVhsv(299, 73%, 71%)
CMYKcmyk(1.1%, 73.1%, 0%, 28.6%)
CIE-LABlab(46.01, 66.82, -42.82)
CIE-LCHlch(46.01, 79.37, 327.35°)
OKLaboklab(56.36% 0.1855 -0.1188)
OKLCHoklch(56.36% 0.22 327.4)
XYZxyz(28.3638, 15.2793, 45.7022)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B431B6 #33B631
analogous
#7231B6 #B431B6 #B63175
triadic
#B431B6 #B6B431 #31B6B4
tetradic
#B431B6 #B67231 #33B631 #3175B6
square
#B431B6 #B67231 #33B631 #3175B6
split-complementary
#B431B6 #75B631 #31B672
monochromatic
#551756 #842486 #B431B6 #CF53D1 #DC84DE

Accessibility & contrast

On white

5.18
#B431B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B431B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B431B6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B431B6#FFFFFF#000000##FFFFFF
##B431B61.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1262BA
Deuteranopia (green-blind)
#5373B3
Tritanopia (blue-blind)
#B94671
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b431b6;
/* rgb */ color: rgb(180, 49, 182);
/* oklch */ color: oklch(56.4% 0.220 327.4);
Tailwind
colors: {
  custom: {
    50: '#ce77cc',
    500: '#b431b6',
    950: '#000000',
  },
}
SCSS
$custom: #b431b6;
$custom-light: #ce77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b431b6",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 299.098,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56363,
    "c": 0.22028,
    "h": 327.4
  },
  "luminance": 0.15277
}

Semantic roles & 50–950 ramp

primary
#B431B6
secondary
#7DC77C
accent
#E14749
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B431B6

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

Preview Lab → · Contrast checker → · Palette generator →

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