#8173FA#8173FA

#8173FA is a light, vivid blue. Relative luminance 0.238; OKLCH L 63.6% C 0.194 H 284.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8173FA
RGBrgb(129, 115, 250)
HSLhsl(246, 93%, 72%)
HSVhsv(246, 54%, 98%)
CMYKcmyk(48.4%, 54%, 0%, 2%)
CIE-LABlab(55.92, 39.42, -65.98)
CIE-LCHlch(55.92, 76.86, 300.86°)
OKLaboklab(63.6% 0.0474 -0.1883)
OKLCHoklch(63.6% 0.194 284.1)
XYZxyz(32.4342, 23.8291, 93.3144)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8173FA #ECFA73
analogous
#73A9FA #8173FA #C573FA
triadic
#8173FA #FA8173 #73FA81
tetradic
#8173FA #FA73A9 #ECFA73 #73FAC5
square
#8173FA #FA73A9 #ECFA73 #73FAC5
split-complementary
#8173FA #FAC573 #A9FA73
monochromatic
#2008EA #4C38F8 #8173FA #B6AEFC #E4E1FE

Accessibility & contrast

On white

3.64
#8173FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8173FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8173FA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8173FA#FFFFFF#000000##000000
##8173FA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#248AFF
Deuteranopia (green-blind)
#1A82F7
Tritanopia (blue-blind)
#5591AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8173fa;
/* rgb */ color: rgb(129, 115, 250);
/* oklch */ color: oklch(63.6% 0.194 284.1);
Tailwind
colors: {
  custom: {
    50: '#ad9bfd',
    500: '#8173fa',
    950: '#000000',
  },
}
SCSS
$custom: #8173fa;
$custom-light: #ad9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8173fa",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 246.222,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.636,
    "c": 0.1942,
    "h": 284.1
  },
  "luminance": 0.23831
}

Semantic roles & 50–950 ramp

primary
#8173FA
secondary
#F2F6D3
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8173FA

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

Preview Lab → · Contrast checker → · Palette generator →

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