#8173FE#8173FE

#8173FE is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.9% C 0.199 H 283.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8173FE
RGBrgb(129, 115, 254)
HSLhsl(246, 99%, 72%)
HSVhsv(246, 55%, 100%)
CMYKcmyk(49.2%, 54.7%, 0%, 0.4%)
CIE-LABlab(56.17, 40.58, -67.78)
CIE-LCHlch(56.17, 79.00, 300.91°)
OKLaboklab(63.87% 0.0475 -0.1936)
OKLCHoklch(63.87% 0.199 283.8)
XYZxyz(33.0680, 24.0827, 96.6527)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8173FE #F0FE73
analogous
#73ABFE #8173FE #C673FE
triadic
#8173FE #FE8173 #73FE81
tetradic
#8173FE #FE73AB #F0FE73 #73FEC6
square
#8173FE #FE73AB #F0FE73 #73FEC6
split-complementary
#8173FE #FEC673 #ABFE73
monochromatic
#1A02F5 #4A36FE #8173FE #B8B0FE #E4E1FF

Accessibility & contrast

On white

3.61
#8173FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#8173FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8173FE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8173FE#FFFFFF#000000##000000
##8173FE1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B8BFF
Deuteranopia (green-blind)
#0782FB
Tritanopia (blue-blind)
#5292AE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8173fe;
/* rgb */ color: rgb(129, 115, 254);
/* oklch */ color: oklch(63.9% 0.199 283.8);
Tailwind
colors: {
  custom: {
    50: '#ae9bff',
    500: '#8173fe',
    950: '#000000',
  },
}
SCSS
$custom: #8173fe;
$custom-light: #ae9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#8173fe",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 246.043,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6387,
    "c": 0.19936,
    "h": 283.8
  },
  "luminance": 0.24084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8173FE

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

Preview Lab → · Contrast checker → · Palette generator →

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