#B841AF#B841AF

#B841AF is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.0% C 0.198 H 330.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B841AF
RGBrgb(184, 65, 175)
HSLhsl(305, 48%, 49%)
HSVhsv(305, 65%, 72%)
CMYKcmyk(0%, 64.7%, 4.9%, 27.8%)
CIE-LABlab(48.35, 60.78, -34.99)
CIE-LCHlch(48.35, 70.13, 330.07°)
OKLaboklab(58.05% 0.1729 -0.0961)
OKLCHoklch(58.05% 0.198 330.9)
XYZxyz(29.3952, 17.0683, 42.2954)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841AF #41B84A
analogous
#8641B8 #B841AF #B84174
triadic
#B841AF #AFB841 #41AFB8
tetradic
#B841AF #B88641 #41B84A #4174B8
square
#B841AF #B88641 #41B84A #4174B8
split-complementary
#B841AF #74B841 #41B886
monochromatic
#5E2159 #8B3184 #B841AF #CB6BC4 #DB99D6

Accessibility & contrast

On white

4.76
#B841AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B841AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B841AF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841AF#FFFFFF#000000##FFFFFF
##B841AF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#BF4D72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b841af;
/* rgb */ color: rgb(184, 65, 175);
/* oklch */ color: oklch(58.0% 0.198 330.9);
Tailwind
colors: {
  custom: {
    50: '#d17ec7',
    500: '#b841af',
    950: '#000000',
  },
}
SCSS
$custom: #b841af;
$custom-light: #d17ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b841af",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 304.538,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.19786,
    "h": 330.9
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#B841AF
secondary
#8EC792
accent
#D75B50
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B841AF

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

Preview Lab → · Contrast checker → · Palette generator →

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