#8170FB#8170FB

#8170FB is a light, vivid blue. Relative luminance 0.232; OKLCH L 63.2% C 0.199 H 284.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8170FB
RGBrgb(129, 112, 251)
HSLhsl(247, 95%, 71%)
HSVhsv(247, 55%, 98%)
CMYKcmyk(48.6%, 55.4%, 0%, 1.6%)
CIE-LABlab(55.30, 41.44, -67.53)
CIE-LCHlch(55.30, 79.23, 301.54°)
OKLaboklab(63.16% 0.0506 -0.1929)
OKLCHoklch(63.16% 0.199 284.7)
XYZxyz(32.2548, 23.2189, 94.0302)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8170FB #EAFB70
analogous
#70A4FB #8170FB #C670FB
triadic
#8170FB #FB8170 #70FB81
tetradic
#8170FB #FB70A4 #EAFB70 #70FBC6
square
#8170FB #FB70A4 #EAFB70 #70FBC6
split-complementary
#8170FB #FBC670 #A4FB70
monochromatic
#2207EA #4D34F9 #8170FB #B5ACFD #E5E1FE

Accessibility & contrast

On white

3.72
#8170FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8170FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8170FB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8170FB#FFFFFF#000000##000000
##8170FB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1389FF
Deuteranopia (green-blind)
#0180F8
Tritanopia (blue-blind)
#558FAB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8170fb;
/* rgb */ color: rgb(129, 112, 251);
/* oklch */ color: oklch(63.2% 0.199 284.7);
Tailwind
colors: {
  custom: {
    50: '#ad99fd',
    500: '#8170fb',
    950: '#000000',
  },
}
SCSS
$custom: #8170fb;
$custom-light: #ad99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8170fb",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 247.338,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63161,
    "c": 0.19945,
    "h": 284.7
  },
  "luminance": 0.23221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8170FB

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

Preview Lab → · Contrast checker → · Palette generator →

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