#8371EB#8371EB

#8371EB is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.4% C 0.177 H 286.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8371EB
RGBrgb(131, 113, 235)
HSLhsl(249, 75%, 68%)
HSVhsv(249, 52%, 92%)
CMYKcmyk(44.3%, 51.9%, 0%, 7.8%)
CIE-LABlab(54.69, 36.69, -59.60)
CIE-LCHlch(54.69, 69.99, 301.62°)
OKLaboklab(62.43% 0.0514 -0.1695)
OKLCHoklch(62.43% 0.177 286.9)
XYZxyz(30.2563, 22.6325, 81.3555)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8371EB #D9EB71
analogous
#719CEB #8371EB #C071EB
triadic
#8371EB #EB8371 #71EB83
tetradic
#8371EB #EB719C #D9EB71 #71EBC0
square
#8371EB #EB719C #D9EB71 #71EBC0
split-complementary
#8371EB #EBC071 #9CEB71
monochromatic
#351CC6 #543BE3 #8371EB #B2A7F3 #E1DCFA

Accessibility & contrast

On white

3.80
#8371EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8371EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8371EB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8371EB#FFFFFF#000000##000000
##8371EB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#357FE8
Tritanopia (blue-blind)
#638BA3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8371eb;
/* rgb */ color: rgb(131, 113, 235);
/* oklch */ color: oklch(62.4% 0.177 286.9);
Tailwind
colors: {
  custom: {
    50: '#ad9af2',
    500: '#8371eb',
    950: '#000000',
  },
}
SCSS
$custom: #8371eb;
$custom-light: #ad9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8371eb",
  "rgb": {
    "r": 131,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 248.852,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.62432,
    "c": 0.17715,
    "h": 286.9
  },
  "luminance": 0.22634
}

Semantic roles & 50–950 ramp

primary
#8371EB
secondary
#E9EEC9
accent
#D70EBA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8371EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8371EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva