#8371EA#8371EA

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

Color values

HEX#8371EA
RGBrgb(131, 113, 234)
HSLhsl(249, 74%, 68%)
HSVhsv(249, 52%, 92%)
CMYKcmyk(44%, 51.7%, 0%, 8.2%)
CIE-LABlab(54.63, 36.41, -59.14)
CIE-LCHlch(54.63, 69.45, 301.62°)
OKLaboklab(62.37% 0.0513 -0.1682)
OKLCHoklch(62.37% 0.176 287)
XYZxyz(30.1122, 22.5749, 80.5967)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8371EA #D8EA71
analogous
#719BEA #8371EA #C071EA
triadic
#8371EA #EA8371 #71EA83
tetradic
#8371EA #EA719B #D8EA71 #71EAC0
square
#8371EA #EA719B #D8EA71 #71EAC0
split-complementary
#8371EA #EAC071 #9BEA71
monochromatic
#361DC4 #543CE2 #8371EA #B2A6F2 #E0DCFA

Accessibility & contrast

On white

3.81
#8371EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8371EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8371EA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8371EA#FFFFFF#000000##000000
##8371EA1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#377FE7
Tritanopia (blue-blind)
#638BA3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8371ea;
/* rgb */ color: rgb(131, 113, 234);
/* oklch */ color: oklch(62.4% 0.176 287.0);
Tailwind
colors: {
  custom: {
    50: '#ad9af1',
    500: '#8371ea',
    950: '#000000',
  },
}
SCSS
$custom: #8371ea;
$custom-light: #ad9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8371ea",
  "rgb": {
    "r": 131,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 248.926,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.17584,
    "h": 287
  },
  "luminance": 0.22576
}

Semantic roles & 50–950 ramp

primary
#8371EA
secondary
#E8EEC9
accent
#D60FB9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8371EA

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

Preview Lab → · Contrast checker → · Palette generator →

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