#8A8FF2#8A8FF2

#8A8FF2 is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.9% C 0.144 H 279.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8A8FF2
RGBrgb(138, 143, 242)
HSLhsl(237, 80%, 75%)
HSVhsv(237, 43%, 95%)
CMYKcmyk(43%, 40.9%, 0%, 5.1%)
CIE-LABlab(62.89, 22.80, -50.38)
CIE-LCHlch(62.89, 55.30, 294.35°)
OKLaboklab(68.88% 0.0243 -0.1422)
OKLCHoklch(68.88% 0.144 279.7)
XYZxyz(36.3259, 31.4573, 88.1450)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FF2 #F2ED8A
analogous
#8AC3F2 #8A8FF2 #B98AF2
triadic
#8A8FF2 #F28A8F #8FF28A
tetradic
#8A8FF2 #F28AC3 #F2ED8A #8AF2B9
square
#8A8FF2 #F28AC3 #F2ED8A #8AF2B9
split-complementary
#8A8FF2 #F2B98A #C3F28A
monochromatic
#1C26E6 #535AEC #8A8FF2 #C1C4F8 #E3E5FC

Accessibility & contrast

On white

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

On black

7.29
#8A8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FF2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FF2#FFFFFF#000000##000000
##8A8FF21.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#6494F0
Tritanopia (blue-blind)
#68A3B5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8ff2;
/* rgb */ color: rgb(138, 143, 242);
/* oklch */ color: oklch(68.9% 0.144 279.7);
Tailwind
colors: {
  custom: {
    50: '#b1aff7',
    500: '#8a8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ff2;
$custom-light: #b1aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ff2",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 237.115,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68882,
    "c": 0.14427,
    "h": 279.7
  },
  "luminance": 0.31459
}

Semantic roles & 50–950 ramp

primary
#8A8FF2
secondary
#F4F2D7
accent
#D209DC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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