#8171FD#8171FD

#8171FD is a light, highly saturated blue. Relative luminance 0.236; OKLCH L 63.5% C 0.201 H 284.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8171FD
RGBrgb(129, 113, 253)
HSLhsl(247, 97%, 72%)
HSVhsv(247, 55%, 99%)
CMYKcmyk(49%, 55.3%, 0%, 0.8%)
CIE-LABlab(55.65, 41.45, -68.06)
CIE-LCHlch(55.65, 79.69, 301.34°)
OKLaboklab(63.47% 0.0496 -0.1945)
OKLCHoklch(63.47% 0.201 284.3)
XYZxyz(32.6827, 23.5676, 95.7363)
Luminance0.2357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8171FD #EDFD71
analogous
#71A7FD #8171FD #C771FD
triadic
#8171FD #FD8171 #71FD81
tetradic
#8171FD #FD71A7 #EDFD71 #71FDC7
square
#8171FD #FD71A7 #EDFD71 #71FDC7
split-complementary
#8171FD #FDC771 #A7FD71
monochromatic
#1E03F0 #4B35FC #8171FD #B7ADFE #E4E1FF

Accessibility & contrast

On white

3.68
#8171FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8171FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8171FD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8171FD#FFFFFF#000000##000000
##8171FD1.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)
#128AFF
Deuteranopia (green-blind)
#0081FA
Tritanopia (blue-blind)
#5391AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8171fd;
/* rgb */ color: rgb(129, 113, 253);
/* oklch */ color: oklch(63.5% 0.201 284.3);
Tailwind
colors: {
  custom: {
    50: '#ae9aff',
    500: '#8171fd',
    950: '#000000',
  },
}
SCSS
$custom: #8171fd;
$custom-light: #ae9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8171fd",
  "rgb": {
    "r": 129,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 246.857,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.63466,
    "c": 0.2007,
    "h": 284.3
  },
  "luminance": 0.23569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8171FD

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

Preview Lab → · Contrast checker → · Palette generator →

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