#8A8FF0#8A8FF0

#8A8FF0 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.8% C 0.141 H 279.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8A8FF0
RGBrgb(138, 143, 240)
HSLhsl(237, 77%, 74%)
HSVhsv(237, 43%, 94%)
CMYKcmyk(42.5%, 40.4%, 0%, 5.9%)
CIE-LABlab(62.79, 22.23, -49.44)
CIE-LCHlch(62.79, 54.21, 294.22°)
OKLaboklab(68.77% 0.024 -0.1394)
OKLCHoklch(68.77% 0.141 279.7)
XYZxyz(36.0272, 31.3378, 86.5717)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FF0 #F0EB8A
analogous
#8AC2F0 #8A8FF0 #B88AF0
triadic
#8A8FF0 #F08A8F #8FF08A
tetradic
#8A8FF0 #F08AC2 #F0EB8A #8AF0B8
square
#8A8FF0 #F08AC2 #F0EB8A #8AF0B8
split-complementary
#8A8FF0 #F0B88A #C2F08A
monochromatic
#1E27E2 #545BE9 #8A8FF0 #C0C3F7 #E4E5FC

Accessibility & contrast

On white

2.89
#8A8FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8A8FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FF0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FF0#FFFFFF#000000##000000
##8A8FF01.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#6594EE
Tritanopia (blue-blind)
#69A3B4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8ff0;
/* rgb */ color: rgb(138, 143, 240);
/* oklch */ color: oklch(68.8% 0.141 279.7);
Tailwind
colors: {
  custom: {
    50: '#b0aff5',
    500: '#8a8ff0',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ff0;
$custom-light: #b0aff5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ff0",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 240
  },
  "hsl": {
    "h": 237.059,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68773,
    "c": 0.14149,
    "h": 279.7
  },
  "luminance": 0.31339
}

Semantic roles & 50–950 ramp

primary
#8A8FF0
secondary
#F3F2D8
accent
#CF0CDA
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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