#837EFE#837EFE

#837EFE is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.9% C 0.185 H 281.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#837EFE
RGBrgb(131, 126, 254)
HSLhsl(242, 98%, 75%)
HSVhsv(242, 50%, 100%)
CMYKcmyk(48.4%, 50.4%, 0%, 0.4%)
CIE-LABlab(58.88, 34.60, -63.41)
CIE-LCHlch(58.88, 72.23, 298.62°)
OKLaboklab(65.93% 0.0378 -0.1807)
OKLCHoklch(65.93% 0.185 281.8)
XYZxyz(34.7049, 26.9009, 97.1104)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837EFE #F9FE7E
analogous
#7EB9FE #837EFE #C37EFE
triadic
#837EFE #FE837E #7EFE83
tetradic
#837EFE #FE7EB9 #F9FE7E #7EFEC3
square
#837EFE #FE7EB9 #F9FE7E #7EFEC3
split-complementary
#837EFE #FEC37E #B9FE7E
monochromatic
#0E05FD #4941FE #837EFE #BDBBFE #E2E1FF

Accessibility & contrast

On white

3.29
#837EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#837EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837EFE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837EFE#FFFFFF#000000##000000
##837EFE1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#3689FB
Tritanopia (blue-blind)
#559AB2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #837efe;
/* rgb */ color: rgb(131, 126, 254);
/* oklch */ color: oklch(65.9% 0.185 281.8);
Tailwind
colors: {
  custom: {
    50: '#aea3ff',
    500: '#837efe',
    950: '#000000',
  },
}
SCSS
$custom: #837efe;
$custom-light: #aea3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#837efe",
  "rgb": {
    "r": 131,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 242.344,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.65932,
    "c": 0.18458,
    "h": 281.8
  },
  "luminance": 0.26903
}

Semantic roles & 50–950 ramp

primary
#837EFE
secondary
#F6F7D4
accent
#E600DD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #837EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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