#837AC4#837AC4

#837AC4 is a mid, moderate blue. Relative luminance 0.227; OKLCH L 61.8% C 0.110 H 288.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#837AC4
RGBrgb(131, 122, 196)
HSLhsl(247, 39%, 62%)
HSVhsv(247, 38%, 77%)
CMYKcmyk(33.2%, 37.8%, 0%, 23.1%)
CIE-LABlab(54.79, 20.60, -37.43)
CIE-LCHlch(54.79, 42.73, 298.82°)
OKLaboklab(61.83% 0.0347 -0.1047)
OKLCHoklch(61.83% 0.11 288.3)
XYZxyz(26.2808, 22.7292, 55.2164)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837AC4 #BBC47A
analogous
#7A96C4 #837AC4 #A87AC4
triadic
#837AC4 #C4837A #7AC483
tetradic
#837AC4 #C47A96 #BBC47A #7AC4A8
square
#837AC4 #C47A96 #BBC47A #7AC4A8
split-complementary
#837AC4 #C4A87A #96C47A
monochromatic
#453C87 #5B50B1 #837AC4 #ABA4D7 #D2CFEA

Accessibility & contrast

On white

3.79
#837AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#837AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837AC4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837AC4#FFFFFF#000000##000000
##837AC41.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6485C7
Deuteranopia (green-blind)
#6381C2
Tritanopia (blue-blind)
#738896
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #837ac4;
/* rgb */ color: rgb(131, 122, 196);
/* oklch */ color: oklch(61.8% 0.110 288.3);
Tailwind
colors: {
  custom: {
    50: '#a9a0d6',
    500: '#837ac4',
    950: '#000000',
  },
}
SCSS
$custom: #837ac4;
$custom-light: #a9a0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#837ac4",
  "rgb": {
    "r": 131,
    "g": 122,
    "b": 196
  },
  "hsl": {
    "h": 247.297,
    "s": 38.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.11031,
    "h": 288.3
  },
  "luminance": 0.2273
}

Semantic roles & 50–950 ramp

primary
#837AC4
secondary
#D7DABF
accent
#B234A2
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #837AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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