#8A7FF8#8A7FF8

#8A7FF8 is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.3% C 0.174 H 284.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A7FF8
RGBrgb(138, 127, 248)
HSLhsl(245, 90%, 74%)
HSVhsv(245, 49%, 97%)
CMYKcmyk(44.4%, 48.8%, 0%, 2.7%)
CIE-LABlab(59.30, 33.83, -59.40)
CIE-LCHlch(59.30, 68.35, 299.66°)
OKLaboklab(66.27% 0.0443 -0.1687)
OKLCHoklch(66.27% 0.174 284.7)
XYZxyz(35.0089, 27.3578, 92.2247)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FF8 #EDF87F
analogous
#7FB0F8 #8A7FF8 #C77FF8
triadic
#8A7FF8 #F88A7F #7FF88A
tetradic
#8A7FF8 #F87FB0 #EDF87F #7FF8C7
square
#8A7FF8 #F87FB0 #EDF87F #7FF8C7
split-complementary
#8A7FF8 #F8C77F #B0F87F
monochromatic
#220DF0 #5545F5 #8A7FF8 #BFB9FB #E4E2FD

Accessibility & contrast

On white

3.24
#8A7FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8A7FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FF8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FF8#FFFFFF#000000##000000
##8A7FF81.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FC
Deuteranopia (green-blind)
#468BF5
Tritanopia (blue-blind)
#6798B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a7ff8;
/* rgb */ color: rgb(138, 127, 248);
/* oklch */ color: oklch(66.3% 0.174 284.7);
Tailwind
colors: {
  custom: {
    50: '#b2a4fb',
    500: '#8a7ff8',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ff8;
$custom-light: #b2a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ff8",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 245.455,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66269,
    "c": 0.1744,
    "h": 284.7
  },
  "luminance": 0.27359
}

Semantic roles & 50–950 ramp

primary
#8A7FF8
secondary
#F3F5D6
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A7FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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