#8371FA#8371FA

#8371FA is a light, vivid blue. Relative luminance 0.235; OKLCH L 63.4% C 0.197 H 285.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8371FA
RGBrgb(131, 113, 250)
HSLhsl(248, 93%, 71%)
HSVhsv(248, 55%, 98%)
CMYKcmyk(47.6%, 54.8%, 0%, 2%)
CIE-LABlab(55.62, 40.98, -66.45)
CIE-LCHlch(55.62, 78.07, 301.67°)
OKLaboklab(63.42% 0.0519 -0.1897)
OKLCHoklch(63.42% 0.197 285.3)
XYZxyz(32.5154, 23.5362, 93.2536)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8371FA #E8FA71
analogous
#71A3FA #8371FA #C771FA
triadic
#8371FA #FA8371 #71FA83
tetradic
#8371FA #FA71A3 #E8FA71 #71FAC7
square
#8371FA #FA71A3 #E8FA71 #71FAC7
split-complementary
#8371FA #FAC771 #A3FA71
monochromatic
#2608E8 #4F36F8 #8371FA #B7ACFC #E5E1FE

Accessibility & contrast

On white

3.68
#8371FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8371FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8371FA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8371FA#FFFFFF#000000##000000
##8371FA1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D89FF
Deuteranopia (green-blind)
#1581F7
Tritanopia (blue-blind)
#5A90AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8371fa;
/* rgb */ color: rgb(131, 113, 250);
/* oklch */ color: oklch(63.4% 0.197 285.3);
Tailwind
colors: {
  custom: {
    50: '#ae9afd',
    500: '#8371fa',
    950: '#000000',
  },
}
SCSS
$custom: #8371fa;
$custom-light: #ae9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8371fa",
  "rgb": {
    "r": 131,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 247.883,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6342,
    "c": 0.19665,
    "h": 285.3
  },
  "luminance": 0.23538
}

Semantic roles & 50–950 ramp

primary
#8371FA
secondary
#F1F5D1
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8371FA

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

Preview Lab → · Contrast checker → · Palette generator →

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