#8A8AF1#8A8AF1

#8A8AF1 is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.9% C 0.150 H 281.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A8AF1
RGBrgb(138, 138, 241)
HSLhsl(240, 79%, 74%)
HSVhsv(240, 43%, 95%)
CMYKcmyk(42.7%, 42.7%, 0%, 5.5%)
CIE-LABlab(61.59, 25.43, -51.89)
CIE-LCHlch(61.59, 57.78, 296.11°)
OKLaboklab(67.88% 0.0303 -0.1466)
OKLCHoklch(67.88% 0.15 281.7)
XYZxyz(35.4422, 29.9295, 87.1115)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AF1 #F1F18A
analogous
#8ABEF1 #8A8AF1 #BE8AF1
triadic
#8A8AF1 #F18A8A #8AF18A
tetradic
#8A8AF1 #F18ABE #F1F18A #8AF1BE
square
#8A8AF1 #F18ABE #F1F18A #8AF1BE
split-complementary
#8A8AF1 #F1BE8A #BEF18A
monochromatic
#1D1DE4 #5353EA #8A8AF1 #C1C1F8 #E4E4FC

Accessibility & contrast

On white

3.01
#8A8AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8A8AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AF1
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AF1#FFFFFF#000000##000000
##8A8AF11.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F5
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#699FB2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8af1;
/* rgb */ color: rgb(138, 138, 241);
/* oklch */ color: oklch(67.9% 0.150 281.7);
Tailwind
colors: {
  custom: {
    50: '#b1acf6',
    500: '#8a8af1',
    950: '#000000',
  },
}
SCSS
$custom: #8a8af1;
$custom-light: #b1acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8af1",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 241
  },
  "hsl": {
    "h": 240,
    "s": 78.626,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67876,
    "c": 0.14972,
    "h": 281.7
  },
  "luminance": 0.29931
}

Semantic roles & 50–950 ramp

primary
#8A8AF1
secondary
#F4F4D7
accent
#DB0BDB
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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