#B831A3#B831A3

#B831A3 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.208 H 335.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B831A3
RGBrgb(184, 49, 163)
HSLhsl(309, 58%, 46%)
HSVhsv(309, 73%, 72%)
CMYKcmyk(0%, 73.4%, 11.4%, 27.8%)
CIE-LABlab(45.68, 64.74, -32.08)
CIE-LCHlch(45.68, 72.25, 333.64°)
OKLaboklab(55.93% 0.189 -0.0876)
OKLCHoklch(55.93% 0.208 335.1)
XYZxyz(27.4767, 15.0337, 36.0979)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B831A3 #31B846
analogous
#8931B8 #B831A3 #B83160
triadic
#B831A3 #A3B831 #31A3B8
tetradic
#B831A3 #B88931 #31B846 #3160B8
square
#B831A3 #B88931 #31B846 #3160B8
split-complementary
#B831A3 #60B831 #31B889
monochromatic
#57174D #882478 #B831A3 #D255BE #DE85D1

Accessibility & contrast

On white

5.24
#B831A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B831A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B831A3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B831A3#FFFFFF#000000##FFFFFF
##B831A31.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA6
Deuteranopia (green-blind)
#6173A0
Tritanopia (blue-blind)
#C13C67
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b831a3;
/* rgb */ color: rgb(184, 49, 163);
/* oklch */ color: oklch(55.9% 0.208 335.1);
Tailwind
colors: {
  custom: {
    50: '#d176be',
    500: '#b831a3',
    950: '#000000',
  },
}
SCSS
$custom: #b831a3;
$custom-light: #d176be;
$custom-dark: #000000;
JSON
{
  "hex": "#b831a3",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 309.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.20829,
    "h": 335.1
  },
  "luminance": 0.15031
}

Semantic roles & 50–950 ramp

primary
#B831A3
secondary
#7DC889
accent
#E15F47
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #B831A3

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

Preview Lab → · Contrast checker → · Palette generator →

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