#B838BB#B838BB

#B838BB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.218 H 327.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B838BB
RGBrgb(184, 56, 187)
HSLhsl(299, 54%, 48%)
HSVhsv(299, 70%, 73%)
CMYKcmyk(1.6%, 70.1%, 0%, 26.7%)
CIE-LABlab(47.76, 66.16, -42.93)
CIE-LCHlch(47.76, 78.87, 327.02°)
OKLaboklab(57.83% 0.1832 -0.119)
OKLCHoklch(57.83% 0.218 327)
XYZxyz(30.1505, 16.6086, 48.6218)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838BB #3BBB38
analogous
#7638BB #B838BB #BB387C
triadic
#B838BB #BBB838 #38BBB8
tetradic
#B838BB #BB7638 #3BBB38 #387CBB
square
#B838BB #BB7638 #3BBB38 #387CBB
split-complementary
#B838BB #7CBB38 #38BB76
monochromatic
#5B1C5D #8A2A8C #B838BB #CD61D0 #DC90DE

Accessibility & contrast

On white

4.86
#B838BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B838BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838BB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838BB#FFFFFF#000000##FFFFFF
##B838BB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#BD4C76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b838bb;
/* rgb */ color: rgb(184, 56, 187);
/* oklch */ color: oklch(57.8% 0.218 327.0);
Tailwind
colors: {
  custom: {
    50: '#d17ad0',
    500: '#b838bb',
    950: '#000000',
  },
}
SCSS
$custom: #b838bb;
$custom-light: #d17ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b838bb",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 298.626,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.21844,
    "h": 327
  },
  "luminance": 0.16607
}

Semantic roles & 50–950 ramp

primary
#B838BB
secondary
#88C886
accent
#DD4B4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B838BB

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

Preview Lab → · Contrast checker → · Palette generator →

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