#8371F5#8371F5

#8371F5 is a light, vivid blue. Relative luminance 0.232; OKLCH L 63.1% C 0.190 H 285.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8371F5
RGBrgb(131, 113, 245)
HSLhsl(248, 87%, 70%)
HSVhsv(248, 54%, 96%)
CMYKcmyk(46.5%, 53.9%, 0%, 3.9%)
CIE-LABlab(55.31, 39.55, -64.18)
CIE-LCHlch(55.31, 75.39, 301.64°)
OKLaboklab(63.09% 0.0518 -0.183)
OKLCHoklch(63.09% 0.19 285.8)
XYZxyz(31.7418, 23.2267, 89.1792)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8371F5 #E3F571
analogous
#71A1F5 #8371F5 #C571F5
triadic
#8371F5 #F58371 #71F583
tetradic
#8371F5 #F571A1 #E3F571 #71F5C5
square
#8371F5 #F571A1 #E3F571 #71F5C5
split-complementary
#8371F5 #F5C571 #A1F571
monochromatic
#2B10DC #5138F1 #8371F5 #B5AAF9 #E6E2FD

Accessibility & contrast

On white

3.72
#8371F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8371F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8371F5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8371F5#FFFFFF#000000##000000
##8371F51.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2888FA
Deuteranopia (green-blind)
#2481F2
Tritanopia (blue-blind)
#5D8EA8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8371f5;
/* rgb */ color: rgb(131, 113, 245);
/* oklch */ color: oklch(63.1% 0.190 285.8);
Tailwind
colors: {
  custom: {
    50: '#ae9af9',
    500: '#8371f5',
    950: '#000000',
  },
}
SCSS
$custom: #8371f5;
$custom-light: #ae9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#8371f5",
  "rgb": {
    "r": 131,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 248.182,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.1902,
    "h": 285.8
  },
  "luminance": 0.23228
}

Semantic roles & 50–950 ramp

primary
#8371F5
secondary
#EEF3CF
accent
#E302C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8371F5

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

Preview Lab → · Contrast checker → · Palette generator →

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