#B837D9#B837D9

#B837D9 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.6% C 0.244 H 318.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B837D9
RGBrgb(184, 55, 217)
HSLhsl(288, 68%, 53%)
HSVhsv(288, 75%, 85%)
CMYKcmyk(15.2%, 74.7%, 0%, 14.9%)
CIE-LABlab(49.42, 71.77, -57.60)
CIE-LCHlch(49.42, 92.02, 321.25°)
OKLaboklab(59.58% 0.1824 -0.1619)
OKLCHoklch(59.58% 0.244 318.4)
XYZxyz(33.6560, 17.9341, 67.3210)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837D9 #58D937
analogous
#6737D9 #B837D9 #D937A9
triadic
#B837D9 #D9B837 #37D9B8
tetradic
#B837D9 #D96737 #58D937 #37A9D9
square
#B837D9 #D96737 #58D937 #37A9D9
split-complementary
#B837D9 #A9D937 #37D967
monochromatic
#69187E #9422B1 #B837D9 #CA6AE3 #DD9EED

Accessibility & contrast

On white

4.58
#B837D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#B837D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B837D9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837D9#FFFFFF#000000##000000
##B837D91.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#B75986
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b837d9;
/* rgb */ color: rgb(184, 55, 217);
/* oklch */ color: oklch(59.6% 0.244 318.4);
Tailwind
colors: {
  custom: {
    50: '#d27be5',
    500: '#b837d9',
    950: '#000000',
  },
}
SCSS
$custom: #b837d9;
$custom-light: #d27be5;
$custom-dark: #000000;
JSON
{
  "hex": "#b837d9",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 287.778,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.24386,
    "h": 318.4
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#B837D9
secondary
#A1D993
accent
#EB3D60
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150A16
muted
#837C84

Preview Lab

Preview with #B837D9

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

Preview Lab → · Contrast checker → · Palette generator →

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