#8A8CFA#8A8CFA

#8A8CFA is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.8% C 0.159 H 280.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8A8CFA
RGBrgb(138, 140, 250)
HSLhsl(239, 92%, 76%)
HSVhsv(239, 45%, 98%)
CMYKcmyk(44.8%, 44%, 0%, 2%)
CIE-LABlab(62.56, 26.83, -55.31)
CIE-LCHlch(62.56, 61.47, 295.88°)
OKLaboklab(68.76% 0.0292 -0.1566)
OKLCHoklch(68.76% 0.159 280.6)
XYZxyz(37.1095, 31.0598, 94.4637)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CFA #FAF88A
analogous
#8AC4FA #8A8CFA #C08AFA
triadic
#8A8CFA #FA8A8C #8CFA8A
tetradic
#8A8CFA #FA8AC4 #FAF88A #8AFAC0
square
#8A8CFA #FA8AC4 #FAF88A #8AFAC0
split-complementary
#8A8CFA #FAC08A #C4FA8A
monochromatic
#1519F5 #4F52F7 #8A8CFA #C5C6FD #E2E2FE

Accessibility & contrast

On white

2.91
#8A8CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#8A8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8CFA
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CFA#FFFFFF#000000##000000
##8A8CFA1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#5A93F8
Tritanopia (blue-blind)
#64A3B7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8cfa;
/* rgb */ color: rgb(138, 140, 250);
/* oklch */ color: oklch(68.8% 0.159 280.6);
Tailwind
colors: {
  custom: {
    50: '#b1adfc',
    500: '#8a8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cfa;
$custom-light: #b1adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cfa",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 238.929,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.68762,
    "c": 0.15933,
    "h": 280.6
  },
  "luminance": 0.31062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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