#8A8FFF#8A8FFF

#8A8FFF is a light, vivid blue. Relative luminance 0.323; OKLCH L 69.6% C 0.162 H 279.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8A8FFF
RGBrgb(138, 143, 255)
HSLhsl(237, 100%, 77%)
HSVhsv(237, 46%, 100%)
CMYKcmyk(45.9%, 43.9%, 0%, 0%)
CIE-LABlab(63.56, 26.52, -56.45)
CIE-LCHlch(63.56, 62.37, 295.17°)
OKLaboklab(69.61% 0.0264 -0.16)
OKLCHoklch(69.61% 0.162 279.4)
XYZxyz(38.3482, 32.2662, 98.7957)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FFF #FFFA8A
analogous
#8ACAFF #8A8FFF #C08AFF
triadic
#8A8FFF #FF8A8F #8FFF8A
tetradic
#8A8FFF #FF8ACA #FFFA8A #8AFFC0
square
#8A8FFF #FF8ACA #FFFA8A #8AFFC0
split-complementary
#8A8FFF #FFC08A #CAFF8A
monochromatic
#101AFF #4D54FF #8A8FFF #C7CAFF #E0E2FF

Accessibility & contrast

On white

2.82
#8A8FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#8A8FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FFF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FFF#FFFFFF#000000##000000
##8A8FFF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#5A96FC
Tritanopia (blue-blind)
#61A6BB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a8fff;
/* rgb */ color: rgb(138, 143, 255);
/* oklch */ color: oklch(69.6% 0.162 279.4);
Tailwind
colors: {
  custom: {
    50: '#b2afff',
    500: '#8a8fff',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fff;
$custom-light: #b2afff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fff",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 255
  },
  "hsl": {
    "h": 237.436,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.69611,
    "c": 0.16212,
    "h": 279.4
  },
  "luminance": 0.32268
}

Semantic roles & 50–950 ramp

primary
#8A8FFF
secondary
#F7F6D4
accent
#DC00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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