#8A8DFC#8A8DFC

#8A8DFC is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.1% C 0.161 H 280.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8A8DFC
RGBrgb(138, 141, 252)
HSLhsl(238, 95%, 76%)
HSVhsv(238, 45%, 99%)
CMYKcmyk(45.2%, 44%, 0%, 1.2%)
CIE-LABlab(62.91, 26.82, -55.84)
CIE-LCHlch(62.91, 61.95, 295.66°)
OKLaboklab(69.06% 0.0283 -0.1582)
OKLCHoklch(69.06% 0.161 280.1)
XYZxyz(37.5715, 31.4794, 96.1730)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DFC #FCF98A
analogous
#8AC6FC #8A8DFC #C08AFC
triadic
#8A8DFC #FC8A8D #8DFC8A
tetradic
#8A8DFC #FC8AC6 #FCF98A #8AFCC0
square
#8A8DFC #FC8AC6 #FCF98A #8AFCC0
split-complementary
#8A8DFC #FCC08A #C6FC8A
monochromatic
#1319F9 #4E53FA #8A8DFC #C6C7FE #E1E2FE

Accessibility & contrast

On white

2.88
#8A8DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#8A8DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DFC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DFC#FFFFFF#000000##000000
##8A8DFC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#63A4B8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8dfc;
/* rgb */ color: rgb(138, 141, 252);
/* oklch */ color: oklch(69.1% 0.161 280.1);
Tailwind
colors: {
  custom: {
    50: '#b2aefe',
    500: '#8a8dfc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dfc;
$custom-light: #b2aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dfc",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 238.421,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69064,
    "c": 0.16071,
    "h": 280.1
  },
  "luminance": 0.31481
}

Semantic roles & 50–950 ramp

primary
#8A8DFC
secondary
#F6F6D5
accent
#DF00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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