#8173EA#8173EA

#8173EA is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.6% C 0.173 H 285.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8173EA
RGBrgb(129, 115, 234)
HSLhsl(247, 74%, 68%)
HSVhsv(247, 51%, 92%)
CMYKcmyk(44.9%, 50.9%, 0%, 8.2%)
CIE-LABlab(54.94, 34.79, -58.66)
CIE-LCHlch(54.94, 68.20, 300.67°)
OKLaboklab(62.56% 0.0466 -0.1668)
OKLCHoklch(62.56% 0.173 285.6)
XYZxyz(30.0310, 22.8678, 80.6575)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8173EA #DCEA73
analogous
#73A0EA #8173EA #BC73EA
triadic
#8173EA #EA8173 #73EA81
tetradic
#8173EA #EA73A0 #DCEA73 #73EABC
square
#8173EA #EA73A0 #DCEA73 #73EABC
split-complementary
#8173EA #EABC73 #A0EA73
monochromatic
#311EC5 #513EE2 #8173EA #B1A8F2 #E1DDFA

Accessibility & contrast

On white

3.77
#8173EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8173EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8173EA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8173EA#FFFFFF#000000##000000
##8173EA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#3980E7
Tritanopia (blue-blind)
#5F8CA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8173ea;
/* rgb */ color: rgb(129, 115, 234);
/* oklch */ color: oklch(62.6% 0.173 285.6);
Tailwind
colors: {
  custom: {
    50: '#ab9bf1',
    500: '#8173ea',
    950: '#000000',
  },
}
SCSS
$custom: #8173ea;
$custom-light: #ab9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8173ea",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 247.059,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.1732,
    "h": 285.6
  },
  "luminance": 0.22869
}

Semantic roles & 50–950 ramp

primary
#8173EA
secondary
#EAEECA
accent
#D60FBF
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8173EA

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

Preview Lab → · Contrast checker → · Palette generator →

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