#837DFE#837DFE

#837DFE is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.8% C 0.186 H 282.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#837DFE
RGBrgb(131, 125, 254)
HSLhsl(243, 98%, 74%)
HSVhsv(243, 51%, 100%)
CMYKcmyk(48.4%, 50.8%, 0%, 0.4%)
CIE-LABlab(58.65, 35.19, -63.79)
CIE-LCHlch(58.65, 72.85, 298.88°)
OKLaboklab(65.75% 0.039 -0.1818)
OKLCHoklch(65.75% 0.186 282.1)
XYZxyz(34.5777, 26.6465, 97.0680)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837DFE #F8FE7D
analogous
#7DB8FE #837DFE #C47DFE
triadic
#837DFE #FE837D #7DFE83
tetradic
#837DFE #FE7DB8 #F8FE7D #7DFEC4
square
#837DFE #FE7DB8 #F8FE7D #7DFEC4
split-complementary
#837DFE #FEC47D #B8FE7D
monochromatic
#0F04FD #4940FE #837DFE #BDBAFE #E2E1FF

Accessibility & contrast

On white

3.32
#837DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#837DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837DFE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837DFE#FFFFFF#000000##000000
##837DFE1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#3489FB
Tritanopia (blue-blind)
#5699B2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #837dfe;
/* rgb */ color: rgb(131, 125, 254);
/* oklch */ color: oklch(65.8% 0.186 282.1);
Tailwind
colors: {
  custom: {
    50: '#aea2ff',
    500: '#837dfe',
    950: '#000000',
  },
}
SCSS
$custom: #837dfe;
$custom-light: #aea2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#837dfe",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 242.791,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.65754,
    "c": 0.18591,
    "h": 282.1
  },
  "luminance": 0.26648
}

Semantic roles & 50–950 ramp

primary
#837DFE
secondary
#F5F7D4
accent
#E600DB
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #837DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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