#8186F7#8186F7

#8186F7 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.8% C 0.165 H 279.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8186F7
RGBrgb(129, 134, 247)
HSLhsl(237, 88%, 74%)
HSVhsv(237, 48%, 97%)
CMYKcmyk(47.8%, 45.7%, 0%, 3.1%)
CIE-LABlab(60.28, 27.41, -57.33)
CIE-LCHlch(60.28, 63.55, 295.56°)
OKLaboklab(66.82% 0.0259 -0.1628)
OKLCHoklch(66.82% 0.165 279)
XYZxyz(34.3617, 28.4309, 91.6548)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8186F7 #F7F281
analogous
#81C1F7 #8186F7 #B781F7
triadic
#8186F7 #F78186 #86F781
tetradic
#8186F7 #F781C1 #F7F281 #81F7B7
square
#8186F7 #F781C1 #F7F281 #81F7B7
split-complementary
#8186F7 #F7B781 #C1F781
monochromatic
#0F19EE #474FF3 #8186F7 #BBBDFB #E2E3FD

Accessibility & contrast

On white

3.14
#8186F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#8186F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8186F7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8186F7#FFFFFF#000000##000000
##8186F71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#559EB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8186f7;
/* rgb */ color: rgb(129, 134, 247);
/* oklch */ color: oklch(66.8% 0.165 279.0);
Tailwind
colors: {
  custom: {
    50: '#aca9fa',
    500: '#8186f7',
    950: '#000000',
  },
}
SCSS
$custom: #8186f7;
$custom-light: #aca9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8186f7",
  "rgb": {
    "r": 129,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 237.458,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66817,
    "c": 0.16485,
    "h": 279
  },
  "luminance": 0.28433
}

Semantic roles & 50–950 ramp

primary
#8186F7
secondary
#F5F4D6
accent
#DB01E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8186F7

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

Preview Lab → · Contrast checker → · Palette generator →

#8186F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva