#837DF2#837DF2

#837DF2 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.0% C 0.170 H 282.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#837DF2
RGBrgb(131, 125, 242)
HSLhsl(243, 82%, 72%)
HSVhsv(243, 48%, 95%)
CMYKcmyk(45.9%, 48.3%, 0%, 5.1%)
CIE-LABlab(57.94, 31.69, -58.29)
CIE-LCHlch(57.94, 66.34, 298.53°)
OKLaboklab(65% 0.038 -0.1656)
OKLCHoklch(65% 0.17 282.9)
XYZxyz(32.7159, 25.9018, 87.2629)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837DF2 #ECF27D
analogous
#7DB2F2 #837DF2 #BE7DF2
triadic
#837DF2 #F2837D #7DF283
tetradic
#837DF2 #F27DB2 #ECF27D #7DF2BE
square
#837DF2 #F27DB2 #ECF27D #7DF2BE
split-complementary
#837DF2 #F2BE7D #B2F27D
monochromatic
#2016DE #4E45EC #837DF2 #B8B5F8 #E4E3FC

Accessibility & contrast

On white

3.40
#837DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#837DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837DF2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837DF2#FFFFFF#000000##000000
##837DF21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#5D96AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #837df2;
/* rgb */ color: rgb(131, 125, 242);
/* oklch */ color: oklch(65.0% 0.170 282.9);
Tailwind
colors: {
  custom: {
    50: '#ada2f7',
    500: '#837df2',
    950: '#000000',
  },
}
SCSS
$custom: #837df2;
$custom-light: #ada2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#837df2",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 243.077,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65001,
    "c": 0.16991,
    "h": 282.9
  },
  "luminance": 0.25903
}

Semantic roles & 50–950 ramp

primary
#837DF2
secondary
#F3F4D7
accent
#DE07D3
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #837DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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