#B838AB#B838AB

#B838AB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.206 H 332.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B838AB
RGBrgb(184, 56, 171)
HSLhsl(306, 53%, 47%)
HSVhsv(306, 70%, 72%)
CMYKcmyk(0%, 69.6%, 7.1%, 27.8%)
CIE-LABlab(46.92, 63.56, -34.87)
CIE-LCHlch(46.92, 72.50, 331.25°)
OKLaboklab(56.95% 0.1826 -0.0957)
OKLCHoklch(56.95% 0.206 332.3)
XYZxyz(28.5321, 15.9613, 40.0983)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838AB #38B845
analogous
#8538B8 #B838AB #B8386B
triadic
#B838AB #ABB838 #38ABB8
tetradic
#B838AB #B88538 #38B845 #386BB8
square
#B838AB #B88538 #38B845 #386BB8
split-complementary
#B838AB #6BB838 #38B885
monochromatic
#5A1B54 #892A7F #B838AB #CE5FC3 #DD8ED5

Accessibility & contrast

On white

5.01
#B838AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#B838AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838AB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838AB#FFFFFF#000000##FFFFFF
##B838AB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AE
Deuteranopia (green-blind)
#6076A8
Tritanopia (blue-blind)
#C0456D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b838ab;
/* rgb */ color: rgb(184, 56, 171);
/* oklch */ color: oklch(57.0% 0.206 332.3);
Tailwind
colors: {
  custom: {
    50: '#d17ac4',
    500: '#b838ab',
    950: '#000000',
  },
}
SCSS
$custom: #b838ab;
$custom-light: #d17ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#b838ab",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 306.094,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.20612,
    "h": 332.3
  },
  "luminance": 0.15959
}

Semantic roles & 50–950 ramp

primary
#B838AB
secondary
#85C78B
accent
#DD5A4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B838AB

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

Preview Lab → · Contrast checker → · Palette generator →

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