#B837E2#B837E2

#B837E2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.2% C 0.251 H 316.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B837E2
RGBrgb(184, 55, 226)
HSLhsl(285, 75%, 55%)
HSVhsv(285, 76%, 89%)
CMYKcmyk(18.6%, 75.7%, 0%, 11.4%)
CIE-LABlab(50.00, 73.43, -61.78)
CIE-LCHlch(50.00, 95.97, 319.93°)
OKLaboklab(60.17% 0.1813 -0.1741)
OKLCHoklch(60.17% 0.251 316.1)
XYZxyz(34.8587, 18.4151, 73.6550)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837E2 #61E237
analogous
#6237E2 #B837E2 #E237B7
triadic
#B837E2 #E2B837 #37E2B8
tetradic
#B837E2 #E26237 #61E237 #37B7E2
square
#B837E2 #E26237 #61E237 #37B7E2
split-complementary
#B837E2 #B7E237 #37E262
monochromatic
#6D148B #981CC0 #B837E2 #CB6CEA #DEA2F2

Accessibility & contrast

On white

4.48
#B837E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B837E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B837E2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837E2#FFFFFF#000000##000000
##B837E21.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#357ADE
Tritanopia (blue-blind)
#B55D8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b837e2;
/* rgb */ color: rgb(184, 55, 226);
/* oklch */ color: oklch(60.2% 0.251 316.1);
Tailwind
colors: {
  custom: {
    50: '#d27bec',
    500: '#b837e2',
    950: '#000000',
  },
}
SCSS
$custom: #b837e2;
$custom-light: #d27bec;
$custom-dark: #000000;
JSON
{
  "hex": "#b837e2",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 226
  },
  "hsl": {
    "h": 285.263,
    "s": 74.672,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6017,
    "c": 0.25135,
    "h": 316.1
  },
  "luminance": 0.18414
}

Semantic roles & 50–950 ramp

primary
#B837E2
secondary
#A8DE97
accent
#F13764
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150A16
muted
#837C84

Preview Lab

Preview with #B837E2

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

Preview Lab → · Contrast checker → · Palette generator →

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