#837AE2#837AE2

#837AE2 is a light, vivid blue. Relative luminance 0.242; OKLCH L 63.5% C 0.152 H 285.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#837AE2
RGBrgb(131, 122, 226)
HSLhsl(245, 64%, 68%)
HSVhsv(245, 46%, 89%)
CMYKcmyk(42%, 46%, 0%, 11.4%)
CIE-LABlab(56.32, 28.86, -51.96)
CIE-LCHlch(56.32, 59.44, 299.05°)
OKLaboklab(63.49% 0.0398 -0.1471)
OKLCHoklch(63.49% 0.152 285.1)
XYZxyz(30.0431, 24.2342, 75.0315)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837AE2 #D9E27A
analogous
#7AA5E2 #837AE2 #B77AE2
triadic
#837AE2 #E2837A #7AE283
tetradic
#837AE2 #E27AA5 #D9E27A #7AE2B7
square
#837AE2 #E27AA5 #D9E27A #7AE2B7
split-complementary
#837AE2 #E2B77A #A5E27A
monochromatic
#3528B9 #5448D7 #837AE2 #B2ACED #E1DEF8

Accessibility & contrast

On white

3.59
#837AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#837AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837AE2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837AE2#FFFFFF#000000##000000
##837AE21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#528AE6
Deuteranopia (green-blind)
#4F84E0
Tritanopia (blue-blind)
#668FA3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #837ae2;
/* rgb */ color: rgb(131, 122, 226);
/* oklch */ color: oklch(63.5% 0.152 285.1);
Tailwind
colors: {
  custom: {
    50: '#aba0eb',
    500: '#837ae2',
    950: '#000000',
  },
}
SCSS
$custom: #837ae2;
$custom-light: #aba0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#837ae2",
  "rgb": {
    "r": 131,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 245.192,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63489,
    "c": 0.15237,
    "h": 285.1
  },
  "luminance": 0.24235
}

Semantic roles & 50–950 ramp

primary
#837AE2
secondary
#E9ECCC
accent
#CC19BD
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #837AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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