#B836B7#B836B7

#B836B7 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.218 H 328.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B836B7
RGBrgb(184, 54, 183)
HSLhsl(300, 55%, 47%)
HSVhsv(300, 71%, 72%)
CMYKcmyk(0%, 70.7%, 0.5%, 27.8%)
CIE-LABlab(47.30, 66.19, -41.33)
CIE-LCHlch(47.30, 78.04, 328.02°)
OKLaboklab(57.43% 0.1851 -0.1144)
OKLCHoklch(57.43% 0.218 328.3)
XYZxyz(29.6332, 16.2497, 46.3663)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B836B7 #36B837
analogous
#7836B8 #B836B7 #B83676
triadic
#B836B7 #B7B836 #36B7B8
tetradic
#B836B7 #B87836 #36B837 #3676B8
square
#B836B7 #B87836 #36B837 #3676B8
split-complementary
#B836B7 #76B836 #36B878
monochromatic
#591A59 #892888 #B836B7 #CF5CCE #DD8BDC

Accessibility & contrast

On white

4.94
#B836B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B836B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B836B7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B836B7#FFFFFF#000000##FFFFFF
##B836B71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BB
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#BE4973
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b836b7;
/* rgb */ color: rgb(184, 54, 183);
/* oklch */ color: oklch(57.4% 0.218 328.3);
Tailwind
colors: {
  custom: {
    50: '#d179cd',
    500: '#b836b7',
    950: '#000000',
  },
}
SCSS
$custom: #b836b7;
$custom-light: #d179cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b836b7",
  "rgb": {
    "r": 184,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 300.462,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.21757,
    "h": 328.3
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#B836B7
secondary
#82C783
accent
#DE4B4A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B836B7

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

Preview Lab → · Contrast checker → · Palette generator →

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