#8A8FCF#8A8FCF

#8A8FCF is a light, moderate blue. Relative luminance 0.296; OKLCH L 67.1% C 0.095 H 280.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A8FCF
RGBrgb(138, 143, 207)
HSLhsl(236, 42%, 68%)
HSVhsv(236, 33%, 81%)
CMYKcmyk(33.3%, 30.9%, 0%, 18.8%)
CIE-LABlab(61.27, 13.20, -33.49)
CIE-LCHlch(61.27, 36.00, 291.51°)
OKLaboklab(67.1% 0.0166 -0.0932)
OKLCHoklch(67.1% 0.095 280.1)
XYZxyz(31.5631, 29.5522, 63.0605)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FCF #CFCA8A
analogous
#8AB2CF #8A8FCF #A78ACF
triadic
#8A8FCF #CF8A8F #8FCF8A
tetradic
#8A8FCF #CF8AB2 #CFCA8A #8ACFA7
square
#8A8FCF #CF8AB2 #CFCA8A #8ACFA7
split-complementary
#8A8FCF #CFA78A #B2CF8A
monochromatic
#41489E #5F65BD #8A8FCF #B5B9E1 #E1E2F3

Accessibility & contrast

On white

3.04
#8A8FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8A8FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FCF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FCF#FFFFFF#000000##000000
##8A8FCF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96D2
Deuteranopia (green-blind)
#7892CD
Tritanopia (blue-blind)
#789BA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8fcf;
/* rgb */ color: rgb(138, 143, 207);
/* oklch */ color: oklch(67.1% 0.095 280.1);
Tailwind
colors: {
  custom: {
    50: '#aeafde',
    500: '#8a8fcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fcf;
$custom-light: #aeafde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fcf",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 207
  },
  "hsl": {
    "h": 235.652,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67101,
    "c": 0.09469,
    "h": 280.1
  },
  "luminance": 0.29553
}

Semantic roles & 50–950 ramp

primary
#8A8FCF
secondary
#E5E4D0
accent
#AB31B5
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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