#8A8DFA#8A8DFA

#8A8DFA is a light, vivid blue. Relative luminance 0.314; OKLCH L 69.0% C 0.158 H 280.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8A8DFA
RGBrgb(138, 141, 250)
HSLhsl(238, 92%, 76%)
HSVhsv(238, 45%, 98%)
CMYKcmyk(44.8%, 43.6%, 0%, 2%)
CIE-LABlab(62.80, 26.25, -54.91)
CIE-LCHlch(62.80, 60.86, 295.55°)
OKLaboklab(68.95% 0.028 -0.1555)
OKLCHoklch(68.95% 0.158 280.2)
XYZxyz(37.2562, 31.3533, 94.5127)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DFA #FAF78A
analogous
#8AC5FA #8A8DFA #BF8AFA
triadic
#8A8DFA #FA8A8D #8DFA8A
tetradic
#8A8DFA #FA8AC5 #FAF78A #8AFABF
square
#8A8DFA #FA8AC5 #FAF78A #8AFABF
split-complementary
#8A8DFA #FABF8A #C5FA8A
monochromatic
#151BF5 #4F54F7 #8A8DFA #C5C6FD #E2E2FE

Accessibility & contrast

On white

2.89
#8A8DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8A8DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DFA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DFA#FFFFFF#000000##000000
##8A8DFA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#64A4B7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8dfa;
/* rgb */ color: rgb(138, 141, 250);
/* oklch */ color: oklch(69.0% 0.158 280.2);
Tailwind
colors: {
  custom: {
    50: '#b1aefc',
    500: '#8a8dfa',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dfa;
$custom-light: #b1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dfa",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 238.393,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.6895,
    "c": 0.15798,
    "h": 280.2
  },
  "luminance": 0.31355
}

Semantic roles & 50–950 ramp

primary
#8A8DFA
secondary
#F6F5D5
accent
#DF00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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