#837AC5#837AC5

#837AC5 is a mid, moderate blue. Relative luminance 0.228; OKLCH L 61.9% C 0.112 H 288.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#837AC5
RGBrgb(131, 122, 197)
HSLhsl(247, 39%, 63%)
HSVhsv(247, 38%, 77%)
CMYKcmyk(33.5%, 38.1%, 0%, 22.7%)
CIE-LABlab(54.84, 20.87, -37.93)
CIE-LCHlch(54.84, 43.29, 298.82°)
OKLaboklab(61.88% 0.0349 -0.1062)
OKLCHoklch(61.88% 0.112 288.2)
XYZxyz(26.3950, 22.7749, 55.8178)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837AC5 #BCC57A
analogous
#7A96C5 #837AC5 #A87AC5
triadic
#837AC5 #C5837A #7AC583
tetradic
#837AC5 #C57A96 #BCC57A #7AC5A8
square
#837AC5 #C57A96 #BCC57A #7AC5A8
split-complementary
#837AC5 #C5A87A #96C57A
monochromatic
#453C89 #5B4FB2 #837AC5 #ABA5D8 #D2CFEA

Accessibility & contrast

On white

3.78
#837AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#837AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837AC5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837AC5#FFFFFF#000000##000000
##837AC51.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6385C8
Deuteranopia (green-blind)
#6381C3
Tritanopia (blue-blind)
#738896
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #837ac5;
/* rgb */ color: rgb(131, 122, 197);
/* oklch */ color: oklch(61.9% 0.112 288.2);
Tailwind
colors: {
  custom: {
    50: '#a9a0d7',
    500: '#837ac5',
    950: '#000000',
  },
}
SCSS
$custom: #837ac5;
$custom-light: #a9a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#837ac5",
  "rgb": {
    "r": 131,
    "g": 122,
    "b": 197
  },
  "hsl": {
    "h": 247.2,
    "s": 39.267,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.11174,
    "h": 288.2
  },
  "luminance": 0.22776
}

Semantic roles & 50–950 ramp

primary
#837AC5
secondary
#D8DBC0
accent
#B233A3
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #837AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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