#8A8FC2#8A8FC2

#8A8FC2 is a light, moderate blue. Relative luminance 0.289; OKLCH L 66.5% C 0.076 H 279.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A8FC2
RGBrgb(138, 143, 194)
HSLhsl(235, 31%, 65%)
HSVhsv(235, 29%, 76%)
CMYKcmyk(28.9%, 26.3%, 0%, 23.9%)
CIE-LABlab(60.73, 9.84, -27.02)
CIE-LCHlch(60.73, 28.75, 290.02°)
OKLaboklab(66.51% 0.0129 -0.0747)
OKLCHoklch(66.51% 0.076 279.8)
XYZxyz(30.0387, 28.9424, 55.0323)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FC2 #C2BD8A
analogous
#8AABC2 #8A8FC2 #A18AC2
triadic
#8A8FC2 #C28A8F #8FC28A
tetradic
#8A8FC2 #C28AAB #C2BD8A #8AC2A1
square
#8A8FC2 #C28AAB #C2BD8A #8AC2A1
split-complementary
#8A8FC2 #C2A18A #ABC28A
monochromatic
#484E8A #6268AD #8A8FC2 #B2B6D7 #DADCEC

Accessibility & contrast

On white

3.09
#8A8FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8A8FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FC2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FC2#FFFFFF#000000##000000
##8A8FC21.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C4
Deuteranopia (green-blind)
#7D91C1
Tritanopia (blue-blind)
#7C98A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8fc2;
/* rgb */ color: rgb(138, 143, 194);
/* oklch */ color: oklch(66.5% 0.076 279.8);
Tailwind
colors: {
  custom: {
    50: '#adafd4',
    500: '#8a8fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fc2;
$custom-light: #adafd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fc2",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 194
  },
  "hsl": {
    "h": 234.643,
    "s": 31.461,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6651,
    "c": 0.07579,
    "h": 279.8
  },
  "luminance": 0.28943
}

Semantic roles & 50–950 ramp

primary
#8A8FC2
secondary
#DDDCCA
accent
#A03BAA
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8FC2

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

Preview Lab → · Contrast checker → · Palette generator →

#8A8FC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva