#837AFA#837AFA

#837AFA is a light, vivid blue. Relative luminance 0.256; OKLCH L 65.0% C 0.185 H 283.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#837AFA
RGBrgb(131, 122, 250)
HSLhsl(244, 93%, 73%)
HSVhsv(244, 51%, 98%)
CMYKcmyk(47.6%, 51.2%, 0%, 2%)
CIE-LABlab(57.70, 35.77, -63.10)
CIE-LCHlch(57.70, 72.54, 299.54°)
OKLaboklab(64.97% 0.042 -0.1798)
OKLCHoklch(64.97% 0.185 283.2)
XYZxyz(33.5698, 25.6448, 93.6050)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837AFA #F1FA7A
analogous
#7AB1FA #837AFA #C37AFA
triadic
#837AFA #FA837A #7AFA83
tetradic
#837AFA #FA7AB1 #F1FA7A #7AFAC3
square
#837AFA #FA7AB1 #F1FA7A #7AFAC3
split-complementary
#837AFA #FAC37A #B1FA7A
monochromatic
#1909F1 #4C3FF8 #837AFA #BAB5FC #E4E2FE

Accessibility & contrast

On white

3.43
#837AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#837AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #837AFA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837AFA#FFFFFF#000000##000000
##837AFA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8FFE
Deuteranopia (green-blind)
#3386F7
Tritanopia (blue-blind)
#5996AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #837afa;
/* rgb */ color: rgb(131, 122, 250);
/* oklch */ color: oklch(65.0% 0.185 283.2);
Tailwind
colors: {
  custom: {
    50: '#aea0fd',
    500: '#837afa',
    950: '#000000',
  },
}
SCSS
$custom: #837afa;
$custom-light: #aea0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#837afa",
  "rgb": {
    "r": 131,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 244.219,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.64968,
    "c": 0.18463,
    "h": 283.2
  },
  "luminance": 0.25646
}

Semantic roles & 50–950 ramp

primary
#837AFA
secondary
#F4F6D5
accent
#E600D5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #837AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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