#B84FA7#B84FA7

#B84FA7 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.3% C 0.171 H 334.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B84FA7
RGBrgb(184, 79, 167)
HSLhsl(310, 43%, 52%)
HSVhsv(310, 57%, 72%)
CMYKcmyk(0%, 57.1%, 9.2%, 27.8%)
CIE-LABlab(50.19, 53.39, -27.41)
CIE-LCHlch(50.19, 60.02, 332.82°)
OKLaboklab(59.27% 0.1543 -0.0746)
OKLCHoklch(59.27% 0.171 334.2)
XYZxyz(29.5383, 18.5745, 38.5812)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B84FA7 #4FB860
analogous
#954FB8 #B84FA7 #B84F73
triadic
#B84FA7 #A7B84F #4FA7B8
tetradic
#B84FA7 #B8954F #4FB860 #4F73B8
square
#B84FA7 #B8954F #4FB860 #4F73B8
split-complementary
#B84FA7 #73B84F #4FB895
monochromatic
#64285B #903A82 #B84FA7 #CA7BBD #DBA6D3

Accessibility & contrast

On white

4.45
#B84FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B84FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B84FA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B84FA7#FFFFFF#000000##000000
##B84FA71.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAA
Deuteranopia (green-blind)
#6E7DA4
Tritanopia (blue-blind)
#C05674
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b84fa7;
/* rgb */ color: rgb(184, 79, 167);
/* oklch */ color: oklch(59.3% 0.171 334.2);
Tailwind
colors: {
  custom: {
    50: '#d086c1',
    500: '#b84fa7',
    950: '#000000',
  },
}
SCSS
$custom: #b84fa7;
$custom-light: #d086c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b84fa7",
  "rgb": {
    "r": 184,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 309.714,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.17137,
    "h": 334.2
  },
  "luminance": 0.18572
}

Semantic roles & 50–950 ramp

primary
#B84FA7
secondary
#9AC8A2
accent
#D26A56
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #B84FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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