#8187D4#8187D4

#8187D4 is a light, moderate blue. Relative luminance 0.267; OKLCH L 65.1% C 0.115 H 279.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8187D4
RGBrgb(129, 135, 212)
HSLhsl(236, 49%, 67%)
HSVhsv(236, 39%, 83%)
CMYKcmyk(39.2%, 36.3%, 0%, 16.9%)
CIE-LABlab(58.74, 16.75, -40.30)
CIE-LCHlch(58.74, 43.64, 292.57°)
OKLaboklab(65.06% 0.0185 -0.1131)
OKLCHoklch(65.06% 0.115 279.3)
XYZxyz(29.5974, 26.7473, 65.8779)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8187D4 #D4CE81
analogous
#81B1D4 #8187D4 #A581D4
triadic
#8187D4 #D48187 #87D481
tetradic
#8187D4 #D481B1 #D4CE81 #81D4A5
square
#8187D4 #D481B1 #D4CE81 #81D4A5
split-complementary
#8187D4 #D4A581 #B1D481
monochromatic
#383FA3 #535CC4 #8187D4 #AFB2E4 #DCDEF3

Accessibility & contrast

On white

3.31
#8187D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8187D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8187D4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8187D4#FFFFFF#000000##000000
##8187D41.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D90D7
Deuteranopia (green-blind)
#688AD2
Tritanopia (blue-blind)
#6896A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8187d4;
/* rgb */ color: rgb(129, 135, 212);
/* oklch */ color: oklch(65.1% 0.115 279.3);
Tailwind
colors: {
  custom: {
    50: '#a9a9e1',
    500: '#8187d4',
    950: '#000000',
  },
}
SCSS
$custom: #8187d4;
$custom-light: #a9a9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8187d4",
  "rgb": {
    "r": 129,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 235.663,
    "s": 49.112,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65062,
    "c": 0.11457,
    "h": 279.3
  },
  "luminance": 0.26749
}

Semantic roles & 50–950 ramp

primary
#8187D4
secondary
#E6E4CB
accent
#B229BC
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8187D4

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

Preview Lab → · Contrast checker → · Palette generator →

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