#837BB2#837BB2

#837BB2 is a mid, moderate blue. Relative luminance 0.222; OKLCH L 61.1% C 0.083 H 290.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#837BB2
RGBrgb(131, 123, 178)
HSLhsl(249, 26%, 59%)
HSVhsv(249, 31%, 70%)
CMYKcmyk(26.4%, 30.9%, 0%, 30.2%)
CIE-LABlab(54.24, 15.33, -27.98)
CIE-LCHlch(54.24, 31.91, 298.72°)
OKLaboklab(61.14% 0.0288 -0.0775)
OKLCHoklch(61.14% 0.083 290.4)
XYZxyz(24.4769, 22.2052, 45.1073)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837BB2 #AAB27B
analogous
#7B8FB2 #837BB2 #9F7BB2
triadic
#837BB2 #B2837B #7BB283
tetradic
#837BB2 #B27B8F #AAB27B #7BB29F
square
#837BB2 #B27B8F #AAB27B #7BB29F
split-complementary
#837BB2 #B29F7B #8FB27B
monochromatic
#494271 #625897 #837BB2 #A7A2C9 #CCC8DF

Accessibility & contrast

On white

3.86
#837BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#837BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837BB2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837BB2#FFFFFF#000000##000000
##837BB21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B4
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#79848F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #837bb2;
/* rgb */ color: rgb(131, 123, 178);
/* oklch */ color: oklch(61.1% 0.083 290.4);
Tailwind
colors: {
  custom: {
    50: '#a8a1c9',
    500: '#837bb2',
    950: '#000000',
  },
}
SCSS
$custom: #837bb2;
$custom-light: #a8a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#837bb2",
  "rgb": {
    "r": 131,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 248.727,
    "s": 26.316,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61144,
    "c": 0.08268,
    "h": 290.4
  },
  "luminance": 0.22206
}

Semantic roles & 50–950 ramp

primary
#837BB2
secondary
#CCCFBA
accent
#C365B5
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #837BB2

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

Preview Lab → · Contrast checker → · Palette generator →

#837BB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva