#8A8FED#8A8FED

#8A8FED is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.6% C 0.137 H 279.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8A8FED
RGBrgb(138, 143, 237)
HSLhsl(237, 73%, 74%)
HSVhsv(237, 42%, 93%)
CMYKcmyk(41.8%, 39.7%, 0%, 7.1%)
CIE-LABlab(62.64, 21.39, -48.02)
CIE-LCHlch(62.64, 52.56, 294.01°)
OKLaboklab(68.61% 0.0234 -0.1353)
OKLCHoklch(68.61% 0.137 279.8)
XYZxyz(35.5852, 31.1610, 84.2440)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FED #EDE88A
analogous
#8AC0ED #8A8FED #B68AED
triadic
#8A8FED #ED8A8F #8FED8A
tetradic
#8A8FED #ED8AC0 #EDE88A #8AEDB6
square
#8A8FED #ED8AC0 #EDE88A #8AEDB6
split-complementary
#8A8FED #EDB68A #C0ED8A
monochromatic
#222BDB #555CE5 #8A8FED #BFC2F5 #E4E6FB

Accessibility & contrast

On white

2.90
#8A8FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#8A8FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FED
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FED#FFFFFF#000000##000000
##8A8FED1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF1
Deuteranopia (green-blind)
#6794EB
Tritanopia (blue-blind)
#6BA2B3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8fed;
/* rgb */ color: rgb(138, 143, 237);
/* oklch */ color: oklch(68.6% 0.137 279.8);
Tailwind
colors: {
  custom: {
    50: '#b0aff3',
    500: '#8a8fed',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fed;
$custom-light: #b0aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fed",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 237
  },
  "hsl": {
    "h": 236.97,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68611,
    "c": 0.13732,
    "h": 279.8
  },
  "luminance": 0.31163
}

Semantic roles & 50–950 ramp

primary
#8A8FED
secondary
#F3F1D8
accent
#CB10D5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FED

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

Preview Lab → · Contrast checker → · Palette generator →

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