#8171FA#8171FA

#8171FA is a light, vivid blue. Relative luminance 0.234; OKLCH L 63.3% C 0.197 H 284.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8171FA
RGBrgb(129, 113, 250)
HSLhsl(247, 93%, 71%)
HSVhsv(247, 55%, 98%)
CMYKcmyk(48.4%, 54.8%, 0%, 2%)
CIE-LABlab(55.46, 40.57, -66.72)
CIE-LCHlch(55.46, 78.09, 301.31°)
OKLaboklab(63.26% 0.0495 -0.1905)
OKLCHoklch(63.26% 0.197 284.6)
XYZxyz(32.2086, 23.3779, 93.2392)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8171FA #EAFA71
analogous
#71A5FA #8171FA #C571FA
triadic
#8171FA #FA8171 #71FA81
tetradic
#8171FA #FA71A5 #EAFA71 #71FAC5
square
#8171FA #FA71A5 #EAFA71 #71FAC5
split-complementary
#8171FA #FAC571 #A5FA71
monochromatic
#2208E8 #4D36F8 #8171FA #B5ACFC #E5E1FE

Accessibility & contrast

On white

3.70
#8171FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8171FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8171FA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8171FA#FFFFFF#000000##000000
##8171FA1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C89FF
Deuteranopia (green-blind)
#0F81F7
Tritanopia (blue-blind)
#5690AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8171fa;
/* rgb */ color: rgb(129, 113, 250);
/* oklch */ color: oklch(63.3% 0.197 284.6);
Tailwind
colors: {
  custom: {
    50: '#ad9afd',
    500: '#8171fa',
    950: '#000000',
  },
}
SCSS
$custom: #8171fa;
$custom-light: #ad9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8171fa",
  "rgb": {
    "r": 129,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 247.007,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63261,
    "c": 0.19684,
    "h": 284.6
  },
  "luminance": 0.2338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8171FA

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

Preview Lab → · Contrast checker → · Palette generator →

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