#B838B8#B838B8

#B838B8 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.216 H 327.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B838B8
RGBrgb(184, 56, 184)
HSLhsl(300, 53%, 47%)
HSVhsv(300, 70%, 72%)
CMYKcmyk(0%, 69.6%, 0%, 27.8%)
CIE-LABlab(47.60, 65.66, -41.44)
CIE-LCHlch(47.60, 77.64, 327.74°)
OKLaboklab(57.66% 0.1831 -0.1147)
OKLCHoklch(57.66% 0.216 327.9)
XYZxyz(29.8327, 16.4815, 46.9481)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838B8 #38B838
analogous
#7838B8 #B838B8 #B83878
triadic
#B838B8 #B8B838 #38B8B8
tetradic
#B838B8 #B87838 #38B838 #3878B8
square
#B838B8 #B87838 #38B838 #3878B8
split-complementary
#B838B8 #78B838 #38B878
monochromatic
#5A1B5A #892A89 #B838B8 #CE5FCE #DD8EDD

Accessibility & contrast

On white

4.89
#B838B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B838B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838B8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838B8#FFFFFF#000000##FFFFFF
##B838B81.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BC
Deuteranopia (green-blind)
#5977B5
Tritanopia (blue-blind)
#BE4B74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b838b8;
/* rgb */ color: rgb(184, 56, 184);
/* oklch */ color: oklch(57.7% 0.216 327.9);
Tailwind
colors: {
  custom: {
    50: '#d17ace',
    500: '#b838b8',
    950: '#000000',
  },
}
SCSS
$custom: #b838b8;
$custom-light: #d17ace;
$custom-dark: #000000;
JSON
{
  "hex": "#b838b8",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 300,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57659,
    "c": 0.21608,
    "h": 327.9
  },
  "luminance": 0.16479
}

Semantic roles & 50–950 ramp

primary
#B838B8
secondary
#85C785
accent
#DD4B4B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B838B8

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

Preview Lab → · Contrast checker → · Palette generator →

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