#8A8FCA#8A8FCA

#8A8FCA is a light, moderate blue. Relative luminance 0.293; OKLCH L 66.9% C 0.087 H 280.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A8FCA
RGBrgb(138, 143, 202)
HSLhsl(235, 38%, 67%)
HSVhsv(235, 32%, 79%)
CMYKcmyk(31.7%, 29.2%, 0%, 20.8%)
CIE-LABlab(61.06, 11.89, -31.02)
CIE-LCHlch(61.06, 33.22, 290.98°)
OKLaboklab(66.87% 0.0152 -0.0861)
OKLCHoklch(66.87% 0.087 280)
XYZxyz(30.9614, 29.3115, 59.8921)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FCA #CAC58A
analogous
#8AAFCA #8A8FCA #A58ACA
triadic
#8A8FCA #CA8A8F #8FCA8A
tetradic
#8A8FCA #CA8AAF #CAC58A #8ACAA5
square
#8A8FCA #CA8AAF #CAC58A #8ACAA5
split-complementary
#8A8FCA #CAA58A #AFCA8A
monochromatic
#444A96 #6067B7 #8A8FCA #B4B7DD #DEE0F0

Accessibility & contrast

On white

3.06
#8A8FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8A8FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FCA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FCA#FFFFFF#000000##000000
##8A8FCA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CC
Deuteranopia (green-blind)
#7A91C9
Tritanopia (blue-blind)
#799AA4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8fca;
/* rgb */ color: rgb(138, 143, 202);
/* oklch */ color: oklch(66.9% 0.087 280.0);
Tailwind
colors: {
  custom: {
    50: '#aeafda',
    500: '#8a8fca',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fca;
$custom-light: #aeafda;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fca",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 235.313,
    "s": 37.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66869,
    "c": 0.08744,
    "h": 280
  },
  "luminance": 0.29312
}

Semantic roles & 50–950 ramp

primary
#8A8FCA
secondary
#E2E1CE
accent
#A735B1
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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