#8A8AF3#8A8AF3

#8A8AF3 is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.152 H 281.6°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8A8AF3
RGBrgb(138, 138, 243)
HSLhsl(240, 81%, 75%)
HSVhsv(240, 43%, 95%)
CMYKcmyk(43.2%, 43.2%, 0%, 4.7%)
CIE-LABlab(61.70, 26.00, -52.82)
CIE-LCHlch(61.70, 58.88, 296.20°)
OKLaboklab(67.99% 0.0306 -0.1494)
OKLCHoklch(67.99% 0.152 281.6)
XYZxyz(35.7426, 30.0497, 88.6935)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AF3 #F3F38A
analogous
#8ABFF3 #8A8AF3 #BF8AF3
triadic
#8A8AF3 #F38A8A #8AF38A
tetradic
#8A8AF3 #F38ABF #F3F38A #8AF3BF
square
#8A8AF3 #F38ABF #F3F38A #8AF3BF
split-complementary
#8A8AF3 #F3BF8A #BFF38A
monochromatic
#1B1BE8 #5252ED #8A8AF3 #C2C2F9 #E3E3FC

Accessibility & contrast

On white

3.00
#8A8AF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#8A8AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8AF3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AF3#FFFFFF#000000##000000
##8A8AF31.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F7
Deuteranopia (green-blind)
#5C91F1
Tritanopia (blue-blind)
#689FB3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8af3;
/* rgb */ color: rgb(138, 138, 243);
/* oklch */ color: oklch(68.0% 0.152 281.6);
Tailwind
colors: {
  custom: {
    50: '#b1acf7',
    500: '#8a8af3',
    950: '#000000',
  },
}
SCSS
$custom: #8a8af3;
$custom-light: #b1acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8af3",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 240,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67989,
    "c": 0.15247,
    "h": 281.6
  },
  "luminance": 0.30051
}

Semantic roles & 50–950 ramp

primary
#8A8AF3
secondary
#F4F4D7
accent
#DE08DE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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