#B838B5#B838B5

#B838B5 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.214 H 328.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B838B5
RGBrgb(184, 56, 181)
HSLhsl(301, 53%, 47%)
HSVhsv(301, 70%, 72%)
CMYKcmyk(0%, 69.6%, 1.6%, 27.8%)
CIE-LABlab(47.44, 65.17, -39.94)
CIE-LCHlch(47.44, 76.43, 328.50°)
OKLaboklab(57.49% 0.1831 -0.1104)
OKLCHoklch(57.49% 0.214 328.9)
XYZxyz(29.5215, 16.3570, 45.3094)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838B5 #38B83B
analogous
#7B38B8 #B838B5 #B83875
triadic
#B838B5 #B5B838 #38B5B8
tetradic
#B838B5 #B87B38 #38B83B #3875B8
square
#B838B5 #B87B38 #38B83B #3875B8
split-complementary
#B838B5 #75B838 #38B87B
monochromatic
#5A1B59 #892A87 #B838B5 #CE5FCC #DD8EDB

Accessibility & contrast

On white

4.92
#B838B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B838B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838B5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838B5#FFFFFF#000000##FFFFFF
##B838B51.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766B9
Deuteranopia (green-blind)
#5B76B2
Tritanopia (blue-blind)
#BE4973
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b838b5;
/* rgb */ color: rgb(184, 56, 181);
/* oklch */ color: oklch(57.5% 0.214 328.9);
Tailwind
colors: {
  custom: {
    50: '#d17acb',
    500: '#b838b5',
    950: '#000000',
  },
}
SCSS
$custom: #b838b5;
$custom-light: #d17acb;
$custom-dark: #000000;
JSON
{
  "hex": "#b838b5",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 301.406,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57492,
    "c": 0.21374,
    "h": 328.9
  },
  "luminance": 0.16355
}

Semantic roles & 50–950 ramp

primary
#B838B5
secondary
#85C786
accent
#DD4E4B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B838B5

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

Preview Lab → · Contrast checker → · Palette generator →

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