#8170FA#8170FA

#8170FA is a light, vivid blue. Relative luminance 0.232; OKLCH L 63.1% C 0.198 H 284.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8170FA
RGBrgb(129, 112, 250)
HSLhsl(247, 93%, 71%)
HSVhsv(247, 55%, 98%)
CMYKcmyk(48.4%, 55.2%, 0%, 2%)
CIE-LABlab(55.23, 41.15, -67.08)
CIE-LCHlch(55.23, 78.70, 301.53°)
OKLaboklab(63.09% 0.0506 -0.1916)
OKLCHoklch(63.09% 0.198 284.8)
XYZxyz(32.0976, 23.1560, 93.2022)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8170FA #E9FA70
analogous
#70A4FA #8170FA #C670FA
triadic
#8170FA #FA8170 #70FA81
tetradic
#8170FA #FA70A4 #E9FA70 #70FAC6
square
#8170FA #FA70A4 #E9FA70 #70FAC6
split-complementary
#8170FA #FAC670 #A4FA70
monochromatic
#2408E8 #4D35F8 #8170FA #B5ABFC #E5E1FE

Accessibility & contrast

On white

3.73
#8170FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8170FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8170FA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8170FA#FFFFFF#000000##000000
##8170FA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1688FF
Deuteranopia (green-blind)
#0780F7
Tritanopia (blue-blind)
#568FAA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8170fa;
/* rgb */ color: rgb(129, 112, 250);
/* oklch */ color: oklch(63.1% 0.198 284.8);
Tailwind
colors: {
  custom: {
    50: '#ad99fd',
    500: '#8170fa',
    950: '#000000',
  },
}
SCSS
$custom: #8170fa;
$custom-light: #ad99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8170fa",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 247.391,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63093,
    "c": 0.19816,
    "h": 284.8
  },
  "luminance": 0.23158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8170FA

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

Preview Lab → · Contrast checker → · Palette generator →

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