#8170F3#8170F3

#8170F3 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.6% C 0.189 H 285.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8170F3
RGBrgb(129, 112, 243)
HSLhsl(248, 85%, 70%)
HSVhsv(248, 54%, 95%)
CMYKcmyk(46.9%, 53.9%, 0%, 4.7%)
CIE-LABlab(54.79, 39.13, -63.91)
CIE-LCHlch(54.79, 74.94, 301.47°)
OKLaboklab(62.62% 0.0504 -0.1823)
OKLCHoklch(62.62% 0.189 285.5)
XYZxyz(31.0203, 22.7251, 87.5285)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8170F3 #E2F370
analogous
#70A1F3 #8170F3 #C270F3
triadic
#8170F3 #F38170 #70F381
tetradic
#8170F3 #F370A1 #E2F370 #70F3C2
square
#8170F3 #F370A1 #E2F370 #70F3C2
split-complementary
#8170F3 #F3C270 #A1F370
monochromatic
#2C12D7 #4F38EE #8170F3 #B3A8F8 #E4E1FC

Accessibility & contrast

On white

3.79
#8170F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8170F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8170F3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8170F3#FFFFFF#000000##000000
##8170F31.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2787F7
Deuteranopia (green-blind)
#227FF0
Tritanopia (blue-blind)
#5A8DA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8170f3;
/* rgb */ color: rgb(129, 112, 243);
/* oklch */ color: oklch(62.6% 0.189 285.5);
Tailwind
colors: {
  custom: {
    50: '#ac99f8',
    500: '#8170f3',
    950: '#000000',
  },
}
SCSS
$custom: #8170f3;
$custom-light: #ac99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8170f3",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 247.786,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.18913,
    "h": 285.5
  },
  "luminance": 0.22727
}

Semantic roles & 50–950 ramp

primary
#8170F3
secondary
#EDF2CD
accent
#E105C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8170F3

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

Preview Lab → · Contrast checker → · Palette generator →

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