#B838C0#B838C0

#B838C0 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.222 H 325.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B838C0
RGBrgb(184, 56, 192)
HSLhsl(296, 55%, 49%)
HSVhsv(296, 71%, 75%)
CMYKcmyk(4.2%, 70.8%, 0%, 24.7%)
CIE-LABlab(48.04, 67.00, -45.40)
CIE-LCHlch(48.04, 80.94, 325.88°)
OKLaboklab(58.12% 0.1831 -0.1262)
OKLCHoklch(58.12% 0.222 325.4)
XYZxyz(30.6951, 16.8265, 51.4900)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838C0 #40C038
analogous
#7438C0 #B838C0 #C03884
triadic
#B838C0 #C0B838 #38C0B8
tetradic
#B838C0 #C07438 #40C038 #3884C0
square
#B838C0 #C07438 #40C038 #3884C0
split-complementary
#B838C0 #84C038 #38C074
monochromatic
#5D1C61 #8B2A91 #B838C0 #CB64D2 #DB93DF

Accessibility & contrast

On white

4.81
#B838C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B838C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838C0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838C0#FFFFFF#000000##FFFFFF
##B838C01.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1368C4
Deuteranopia (green-blind)
#5577BD
Tritanopia (blue-blind)
#BC4E79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b838c0;
/* rgb */ color: rgb(184, 56, 192);
/* oklch */ color: oklch(58.1% 0.222 325.4);
Tailwind
colors: {
  custom: {
    50: '#d17bd3',
    500: '#b838c0',
    950: '#000000',
  },
}
SCSS
$custom: #b838c0;
$custom-light: #d17bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b838c0",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 296.471,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.22241,
    "h": 325.4
  },
  "luminance": 0.16824
}

Semantic roles & 50–950 ramp

primary
#B838C0
secondary
#8DCB89
accent
#DE4A52
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B838C0

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

Preview Lab → · Contrast checker → · Palette generator →

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