#8187FA#8187FA

#8187FA is a light, vivid blue. Relative luminance 0.289; OKLCH L 67.2% C 0.168 H 278.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8187FA
RGBrgb(129, 135, 250)
HSLhsl(237, 92%, 74%)
HSVhsv(237, 48%, 98%)
CMYKcmyk(48.4%, 46%, 0%, 2%)
CIE-LABlab(60.69, 27.71, -58.32)
CIE-LCHlch(60.69, 64.57, 295.42°)
OKLaboklab(67.18% 0.0251 -0.1657)
OKLCHoklch(67.18% 0.168 278.6)
XYZxyz(34.9672, 28.8953, 94.1588)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8187FA #FAF481
analogous
#81C4FA #8187FA #B881FA
triadic
#8187FA #FA8187 #87FA81
tetradic
#8187FA #FA81C4 #FAF481 #81FAB8
square
#8187FA #FA81C4 #FAF481 #81FAB8
split-complementary
#8187FA #FAB881 #C4FA81
monochromatic
#0B17F5 #464FF8 #8187FA #BCBFFC #E2E3FE

Accessibility & contrast

On white

3.10
#8187FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#8187FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8187FA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8187FA#FFFFFF#000000##000000
##8187FA1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#4B8EF7
Tritanopia (blue-blind)
#53A0B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8187fa;
/* rgb */ color: rgb(129, 135, 250);
/* oklch */ color: oklch(67.2% 0.168 278.6);
Tailwind
colors: {
  custom: {
    50: '#aca9fc',
    500: '#8187fa',
    950: '#000000',
  },
}
SCSS
$custom: #8187fa;
$custom-light: #aca9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8187fa",
  "rgb": {
    "r": 129,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 237.025,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67184,
    "c": 0.1676,
    "h": 278.6
  },
  "luminance": 0.28897
}

Semantic roles & 50–950 ramp

primary
#8187FA
secondary
#F6F4D5
accent
#DA00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8187FA

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

Preview Lab → · Contrast checker → · Palette generator →

#8187FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva