#837DEC#837DEC

#837DEC is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.6% C 0.162 H 283.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#837DEC
RGBrgb(131, 125, 236)
HSLhsl(243, 74%, 71%)
HSVhsv(243, 47%, 93%)
CMYKcmyk(44.5%, 47%, 0%, 7.5%)
CIE-LABlab(57.60, 29.96, -55.50)
CIE-LCHlch(57.60, 63.06, 298.36°)
OKLaboklab(64.64% 0.0373 -0.1574)
OKLCHoklch(64.64% 0.162 283.3)
XYZxyz(31.8296, 25.5472, 82.5946)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837DEC #E6EC7D
analogous
#7DAEEC #837DEC #BA7DEC
triadic
#837DEC #EC837D #7DEC83
tetradic
#837DEC #EC7DAE #E6EC7D #7DECBA
square
#837DEC #EC7DAE #E6EC7D #7DECBA
split-complementary
#837DEC #ECBA7D #AEEC7D
monochromatic
#281ED0 #5048E4 #837DEC #B6B2F4 #E6E4FB

Accessibility & contrast

On white

3.44
#837DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#837DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837DEC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837DEC#FFFFFF#000000##000000
##837DEC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#4A87EA
Tritanopia (blue-blind)
#6194A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #837dec;
/* rgb */ color: rgb(131, 125, 236);
/* oklch */ color: oklch(64.6% 0.162 283.3);
Tailwind
colors: {
  custom: {
    50: '#aca2f3',
    500: '#837dec',
    950: '#000000',
  },
}
SCSS
$custom: #837dec;
$custom-light: #aca2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#837dec",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 243.243,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64636,
    "c": 0.16179,
    "h": 283.3
  },
  "luminance": 0.25549
}

Semantic roles & 50–950 ramp

primary
#837DEC
secondary
#F0F1D3
accent
#D70FCC
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #837DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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