#8A8DF3#8A8DF3

#8A8DF3 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.6% C 0.148 H 280.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A8DF3
RGBrgb(138, 141, 243)
HSLhsl(238, 81%, 75%)
HSVhsv(238, 43%, 95%)
CMYKcmyk(43.2%, 42%, 0%, 4.7%)
CIE-LABlab(62.44, 24.25, -51.64)
CIE-LCHlch(62.44, 57.05, 295.15°)
OKLaboklab(68.56% 0.0269 -0.1459)
OKLCHoklch(68.56% 0.148 280.5)
XYZxyz(36.1790, 30.9224, 88.8390)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DF3 #F3F08A
analogous
#8AC1F3 #8A8DF3 #BC8AF3
triadic
#8A8DF3 #F38A8D #8DF38A
tetradic
#8A8DF3 #F38AC1 #F3F08A #8AF3BC
square
#8A8DF3 #F38AC1 #F3F08A #8AF3BC
split-complementary
#8A8DF3 #F3BC8A #C1F38A
monochromatic
#1B21E8 #5257ED #8A8DF3 #C2C3F9 #E3E4FC

Accessibility & contrast

On white

2.92
#8A8DF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#8A8DF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DF3
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DF3#FFFFFF#000000##000000
##8A8DF31.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF7
Deuteranopia (green-blind)
#6193F1
Tritanopia (blue-blind)
#68A2B4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8df3;
/* rgb */ color: rgb(138, 141, 243);
/* oklch */ color: oklch(68.6% 0.148 280.5);
Tailwind
colors: {
  custom: {
    50: '#b1aef7',
    500: '#8a8df3',
    950: '#000000',
  },
}
SCSS
$custom: #8a8df3;
$custom-light: #b1aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8df3",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 238.286,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68556,
    "c": 0.14837,
    "h": 280.5
  },
  "luminance": 0.30924
}

Semantic roles & 50–950 ramp

primary
#8A8DF3
secondary
#F4F3D7
accent
#D808DE
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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