#B838BE#B838BE

#B838BE is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.221 H 326.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B838BE
RGBrgb(184, 56, 190)
HSLhsl(297, 54%, 48%)
HSVhsv(297, 71%, 75%)
CMYKcmyk(3.2%, 70.5%, 0%, 25.5%)
CIE-LABlab(47.93, 66.67, -44.42)
CIE-LCHlch(47.93, 80.11, 326.32°)
OKLaboklab(58% 0.1832 -0.1234)
OKLCHoklch(58% 0.221 326)
XYZxyz(30.4750, 16.7384, 50.3309)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B838BE #3EBE38
analogous
#7538BE #B838BE #BE3881
triadic
#B838BE #BEB838 #38BEB8
tetradic
#B838BE #BE7538 #3EBE38 #3881BE
square
#B838BE #BE7538 #3EBE38 #3881BE
split-complementary
#B838BE #81BE38 #38BE75
monochromatic
#5C1C5F #8A2A8F #B838BE #CC62D1 #DB92DF

Accessibility & contrast

On white

4.83
#B838BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B838BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B838BE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B838BE#FFFFFF#000000##FFFFFF
##B838BE1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1868C2
Deuteranopia (green-blind)
#5677BB
Tritanopia (blue-blind)
#BD4E77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b838be;
/* rgb */ color: rgb(184, 56, 190);
/* oklch */ color: oklch(58.0% 0.221 326.0);
Tailwind
colors: {
  custom: {
    50: '#d17ad2',
    500: '#b838be',
    950: '#000000',
  },
}
SCSS
$custom: #b838be;
$custom-light: #d17ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b838be",
  "rgb": {
    "r": 184,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 297.313,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58001,
    "c": 0.22083,
    "h": 326
  },
  "luminance": 0.16736
}

Semantic roles & 50–950 ramp

primary
#B838BE
secondary
#8BCA88
accent
#DE4A51
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B838BE

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

Preview Lab → · Contrast checker → · Palette generator →

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