#837DF7#837DF7

#837DF7 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.3% C 0.177 H 282.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#837DF7
RGBrgb(131, 125, 247)
HSLhsl(243, 88%, 73%)
HSVhsv(243, 49%, 97%)
CMYKcmyk(47%, 49.4%, 0%, 3.1%)
CIE-LABlab(58.23, 33.14, -60.59)
CIE-LCHlch(58.23, 69.06, 298.68°)
OKLaboklab(65.31% 0.0384 -0.1724)
OKLCHoklch(65.31% 0.177 282.6)
XYZxyz(33.4772, 26.2063, 91.2720)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837DF7 #F1F77D
analogous
#7DB4F7 #837DF7 #C07DF7
triadic
#837DF7 #F7837D #7DF783
tetradic
#837DF7 #F77DB4 #F1F77D #7DF7C0
square
#837DF7 #F77DB4 #F1F77D #7DF7C0
split-complementary
#837DF7 #F7C07D #B4F77D
monochromatic
#190EEB #4C43F3 #837DF7 #BAB7FB #E4E2FD

Accessibility & contrast

On white

3.36
#837DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#837DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837DF7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837DF7#FFFFFF#000000##000000
##837DF71.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#3E88F4
Tritanopia (blue-blind)
#5A97AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #837df7;
/* rgb */ color: rgb(131, 125, 247);
/* oklch */ color: oklch(65.3% 0.177 282.6);
Tailwind
colors: {
  custom: {
    50: '#ada2fa',
    500: '#837df7',
    950: '#000000',
  },
}
SCSS
$custom: #837df7;
$custom-light: #ada2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#837df7",
  "rgb": {
    "r": 131,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 242.951,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65311,
    "c": 0.17662,
    "h": 282.6
  },
  "luminance": 0.26208
}

Semantic roles & 50–950 ramp

primary
#837DF7
secondary
#F4F5D6
accent
#E500DA
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #837DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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