#8170EA#8170EA

#8170EA is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.0% C 0.177 H 286.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8170EA
RGBrgb(129, 112, 234)
HSLhsl(248, 74%, 68%)
HSVhsv(248, 52%, 92%)
CMYKcmyk(44.9%, 52.1%, 0%, 8.2%)
CIE-LABlab(54.23, 36.54, -59.79)
CIE-LCHlch(54.23, 70.07, 301.43°)
OKLaboklab(62.03% 0.0501 -0.1701)
OKLCHoklch(62.03% 0.177 286.4)
XYZxyz(29.6944, 22.1947, 80.5454)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8170EA #D9EA70
analogous
#709CEA #8170EA #BE70EA
triadic
#8170EA #EA8170 #70EA81
tetradic
#8170EA #EA709C #D9EA70 #70EABE
square
#8170EA #EA709C #D9EA70 #70EABE
split-complementary
#8170EA #EABE70 #9CEA70
monochromatic
#341DC3 #523BE2 #8170EA #B0A5F2 #DFDBFA

Accessibility & contrast

On white

3.86
#8170EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8170EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8170EA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8170EA#FFFFFF#000000##000000
##8170EA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EE
Deuteranopia (green-blind)
#337EE7
Tritanopia (blue-blind)
#608AA2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8170ea;
/* rgb */ color: rgb(129, 112, 234);
/* oklch */ color: oklch(62.0% 0.177 286.4);
Tailwind
colors: {
  custom: {
    50: '#ab99f1',
    500: '#8170ea',
    950: '#000000',
  },
}
SCSS
$custom: #8170ea;
$custom-light: #ab99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8170ea",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 248.361,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6203,
    "c": 0.17736,
    "h": 286.4
  },
  "luminance": 0.22196
}

Semantic roles & 50–950 ramp

primary
#8170EA
secondary
#E8EEC8
accent
#D70FBB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8170EA

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

Preview Lab → · Contrast checker → · Palette generator →

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